]>
Commit | Line | Data |
---|---|---|
34c9cf9d JR |
1 | #ifndef __pld_kernel_autoconf_h__ |
2 | #define __pld_kernel_autoconf_h__ | |
3 | ||
4 | /* | |
5 | * Define some nasty macros o we can construct the file names | |
6 | * we want to include | |
7 | */ | |
8 | ||
9 | #if defined(__pld_autoconf_included_file__) | |
10 | #undef __pld_autoconf_included_file__ | |
11 | #endif /* __pld_autoconf_included_file__ */ | |
12 | ||
13 | #if defined(__KERNEL_SMP) | |
14 | #include <linux/autoconf-smp.h> | |
15 | #define __pld_autoconf_included_file__ 1 | |
16 | #endif /* __KERNEL_SMP */ | |
17 | ||
18 | #if !defined(__pld_autoconf_included_file__) | |
19 | #include <linux/autoconf-up.h> | |
20 | #else | |
21 | #undef __pld_autoconf_included_file__ | |
22 | #endif /* __pld_autoconf_included_file__ */ | |
23 | ||
24 | #endif /* __pld_kernel_autoconf_h__ */ |