diff options
Diffstat (limited to 'include/linux/kconfig.h')
-rw-r--r-- | include/linux/kconfig.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/kconfig.h b/include/linux/kconfig.h index fec5076eda91..dcde9471897d 100644 --- a/include/linux/kconfig.h +++ b/include/linux/kconfig.h | |||
@@ -4,6 +4,12 @@ | |||
4 | 4 | ||
5 | #include <generated/autoconf.h> | 5 | #include <generated/autoconf.h> |
6 | 6 | ||
7 | #ifdef CONFIG_CPU_BIG_ENDIAN | ||
8 | #define __BIG_ENDIAN 4321 | ||
9 | #else | ||
10 | #define __LITTLE_ENDIAN 1234 | ||
11 | #endif | ||
12 | |||
7 | #define __ARG_PLACEHOLDER_1 0, | 13 | #define __ARG_PLACEHOLDER_1 0, |
8 | #define __take_second_arg(__ignored, val, ...) val | 14 | #define __take_second_arg(__ignored, val, ...) val |
9 | 15 | ||
@@ -64,4 +70,7 @@ | |||
64 | */ | 70 | */ |
65 | #define IS_ENABLED(option) __or(IS_BUILTIN(option), IS_MODULE(option)) | 71 | #define IS_ENABLED(option) __or(IS_BUILTIN(option), IS_MODULE(option)) |
66 | 72 | ||
73 | /* Make sure we always have all types and struct attributes defined. */ | ||
74 | #include <linux/compiler_types.h> | ||
75 | |||
67 | #endif /* __LINUX_KCONFIG_H */ | 76 | #endif /* __LINUX_KCONFIG_H */ |