cxgb4/l2t: Mark expected switch fall-through
[linux/fpc-iii.git] / arch / um / include / shared / common-offsets.h
blob4e99fe05576ad1fc8c79467a4574e3eeeadaae7f
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* for use by sys-$SUBARCH/kernel-offsets.c */
4 DEFINE(KERNEL_MADV_REMOVE, MADV_REMOVE);
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);
11 DEFINE(UM_ELF_CLASS, ELF_CLASS);
12 DEFINE(UM_ELFCLASS32, ELFCLASS32);
13 DEFINE(UM_ELFCLASS64, ELFCLASS64);
15 DEFINE(UM_NR_CPUS, NR_CPUS);
17 DEFINE(UM_GFP_KERNEL, GFP_KERNEL);
18 DEFINE(UM_GFP_ATOMIC, GFP_ATOMIC);
20 /* For crypto assembler code. */
21 DEFINE(crypto_tfm_ctx_offset, offsetof(struct crypto_tfm, __crt_ctx));
23 DEFINE(UM_THREAD_SIZE, THREAD_SIZE);
25 DEFINE(UM_HZ, HZ);
27 DEFINE(UM_USEC_PER_SEC, USEC_PER_SEC);
28 DEFINE(UM_NSEC_PER_SEC, NSEC_PER_SEC);
29 DEFINE(UM_NSEC_PER_USEC, NSEC_PER_USEC);
31 #ifdef CONFIG_PRINTK
32 DEFINE(UML_CONFIG_PRINTK, CONFIG_PRINTK);
33 #endif
34 #ifdef CONFIG_NO_HZ_COMMON
35 DEFINE(UML_CONFIG_NO_HZ_COMMON, CONFIG_NO_HZ_COMMON);
36 #endif
37 #ifdef CONFIG_UML_X86
38 DEFINE(UML_CONFIG_UML_X86, CONFIG_UML_X86);
39 #endif
40 #ifdef CONFIG_64BIT
41 DEFINE(UML_CONFIG_64BIT, CONFIG_64BIT);
42 #endif