Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /usr/src/linux-headers-5.15.0-153-generic/include/linux/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _MEMREGION_H_ #define _MEMREGION_H_ #include <linux/types.h> #include <linux/errno.h> struct memregion_info { int target_node; }; #ifdef CONFIG_MEMREGION int memregion_alloc(gfp_t gfp); void memregion_free(int id); #else static inline int memregion_alloc(gfp_t gfp) { return -ENOMEM; } static inline void memregion_free(int id) { } #endif #endif /* _MEMREGION_H_ */