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 10 DEFINE(UM_GFP_KERNEL, GFP_KERNEL); 11 DEFINE(UM_GFP_ATOMIC, GFP_ATOMIC); 12 13 DEFINE(UM_THREAD_SIZE, THREAD_SIZE); 14 15 DEFINE(UM_NSEC_PER_SEC, NSEC_PER_SEC); 16 DEFINE(UM_NSEC_PER_USEC, NSEC_PER_USEC); 17