Loading...
Note: File does not exist in v5.9.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2#ifndef _MEMBLOCK_ALLOC_EXACT_NID_H
3#define _MEMBLOCK_ALLOC_EXACT_NID_H
4
5#include "common.h"
6
7int memblock_alloc_exact_nid_checks(void);
8int __memblock_alloc_exact_nid_numa_checks(void);
9
10#ifdef CONFIG_NUMA
11static inline int memblock_alloc_exact_nid_numa_checks(void)
12{
13 __memblock_alloc_exact_nid_numa_checks();
14 return 0;
15}
16
17#else
18static inline int memblock_alloc_exact_nid_numa_checks(void)
19{
20 return 0;
21}
22
23#endif /* CONFIG_NUMA */
24
25#endif