diff options
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r-- | include/linux/kernel.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 63fb18dcac30..e91dce75bbcc 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h | |||
@@ -176,6 +176,7 @@ static inline void console_verbose(void) | |||
176 | } | 176 | } |
177 | 177 | ||
178 | extern void bust_spinlocks(int yes); | 178 | extern void bust_spinlocks(int yes); |
179 | extern void wake_up_klogd(void); | ||
179 | extern int oops_in_progress; /* If set, an oops, panic(), BUG() or die() is in progress */ | 180 | extern int oops_in_progress; /* If set, an oops, panic(), BUG() or die() is in progress */ |
180 | extern int panic_timeout; | 181 | extern int panic_timeout; |
181 | extern int panic_on_oops; | 182 | extern int panic_on_oops; |
@@ -200,6 +201,7 @@ extern enum system_states { | |||
200 | #define TAINT_FORCED_RMMOD (1<<3) | 201 | #define TAINT_FORCED_RMMOD (1<<3) |
201 | #define TAINT_MACHINE_CHECK (1<<4) | 202 | #define TAINT_MACHINE_CHECK (1<<4) |
202 | #define TAINT_BAD_PAGE (1<<5) | 203 | #define TAINT_BAD_PAGE (1<<5) |
204 | #define TAINT_USER (1<<6) | ||
203 | 205 | ||
204 | extern void dump_stack(void); | 206 | extern void dump_stack(void); |
205 | 207 | ||
@@ -312,6 +314,9 @@ static inline int __attribute__ ((format (printf, 1, 2))) pr_debug(const char * | |||
312 | (void)__tmp; \ | 314 | (void)__tmp; \ |
313 | }) | 315 | }) |
314 | 316 | ||
317 | struct sysinfo; | ||
318 | extern int do_sysinfo(struct sysinfo *info); | ||
319 | |||
315 | #endif /* __KERNEL__ */ | 320 | #endif /* __KERNEL__ */ |
316 | 321 | ||
317 | #define SI_LOAD_SHIFT 16 | 322 | #define SI_LOAD_SHIFT 16 |