diff options
Diffstat (limited to 'include/linux/kernel.h')
| -rw-r--r-- | include/linux/kernel.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index e44a37e2c71c..4d00988dad03 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h | |||
| @@ -187,6 +187,7 @@ extern void bust_spinlocks(int yes); | |||
| 187 | extern int oops_in_progress; /* If set, an oops, panic(), BUG() or die() is in progress */ | 187 | extern int oops_in_progress; /* If set, an oops, panic(), BUG() or die() is in progress */ |
| 188 | extern int panic_timeout; | 188 | extern int panic_timeout; |
| 189 | extern int panic_on_oops; | 189 | extern int panic_on_oops; |
| 190 | extern int panic_on_unrecovered_nmi; | ||
| 190 | extern int tainted; | 191 | extern int tainted; |
| 191 | extern const char *print_tainted(void); | 192 | extern const char *print_tainted(void); |
| 192 | extern void add_taint(unsigned); | 193 | extern void add_taint(unsigned); |
| @@ -349,4 +350,11 @@ struct sysinfo { | |||
| 349 | /* Trap pasters of __FUNCTION__ at compile-time */ | 350 | /* Trap pasters of __FUNCTION__ at compile-time */ |
| 350 | #define __FUNCTION__ (__func__) | 351 | #define __FUNCTION__ (__func__) |
| 351 | 352 | ||
| 353 | /* This helps us to avoid #ifdef CONFIG_NUMA */ | ||
| 354 | #ifdef CONFIG_NUMA | ||
| 355 | #define NUMA_BUILD 1 | ||
| 356 | #else | ||
| 357 | #define NUMA_BUILD 0 | ||
| 358 | #endif | ||
| 359 | |||
| 352 | #endif | 360 | #endif |
