1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* for use by sys-$SUBARCH/kernel-offsets.c */ 3 4 DEFINE(KERNEL_MADV_REMOVE, MADV_REMOVE); 5 6 DEFINE(UM_KERN_PAGE_SIZE, PAGE_SIZE); 7 DEFINE(UM_KERN_PAGE_MASK, PAGE_MASK); 8 DEFINE(UM_KERN_PAGE_SHIFT, PAGE_SHIFT); 9 DEFINE(UM_NSEC_PER_SEC, NSEC_PER_SEC); 10 11 DEFINE(UM_GFP_KERNEL, GFP_KERNEL); 12 DEFINE(UM_GFP_ATOMIC, GFP_ATOMIC); 13 14 DEFINE(UM_THREAD_SIZE, THREAD_SIZE); 15 16 DEFINE(UM_NSEC_PER_SEC, NSEC_PER_SEC); 17 DEFINE(UM_NSEC_PER_USEC, NSEC_PER_USEC); 18 19 #ifdef CONFIG_PRINTK 20 DEFINE(UML_CONFIG_PRINTK, CONFIG_PRINTK); 21 #endif 22 #ifdef CONFIG_UML_X86 23 DEFINE(UML_CONFIG_UML_X86, CONFIG_UML_X86); 24 #endif 25 #ifdef CONFIG_64BIT 26 DEFINE(UML_CONFIG_64BIT, CONFIG_64BIT); 27 #endif 28 #ifdef CONFIG_UML_TIME_TRAVEL_SUPPORT 29 DEFINE(UML_CONFIG_UML_TIME_TRAVEL_SUPPORT, CONFIG_UML_TIME_TRAVEL_SUPPORT); 30 #endif 31 32
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.