accel/qaic: Add AIC200 support
[drm/drm-misc.git] / tools / testing / memblock / tests / alloc_nid_api.h
blob2b8cabacacb826034999c35e45145d728fc17997
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 #ifndef _MEMBLOCK_ALLOC_NID_H
3 #define _MEMBLOCK_ALLOC_NID_H
5 #include "common.h"
7 int memblock_alloc_nid_checks(void);
8 int memblock_alloc_exact_nid_range_checks(void);
9 int __memblock_alloc_nid_numa_checks(void);
11 #ifdef CONFIG_NUMA
12 static inline int memblock_alloc_nid_numa_checks(void)
14 __memblock_alloc_nid_numa_checks();
15 return 0;
18 #else
19 static inline int memblock_alloc_nid_numa_checks(void)
21 return 0;
24 #endif /* CONFIG_NUMA */
26 #endif