aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r--include/linux/kernel.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index adee958b5989..38e462e00594 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -171,6 +171,11 @@ static inline void might_fault(void)
171} 171}
172#endif 172#endif
173 173
174struct va_format {
175 const char *fmt;
176 va_list *va;
177};
178
174extern struct atomic_notifier_head panic_notifier_list; 179extern struct atomic_notifier_head panic_notifier_list;
175extern long (*panic_blink)(long time); 180extern long (*panic_blink)(long time);
176NORET_TYPE void panic(const char * fmt, ...) 181NORET_TYPE void panic(const char * fmt, ...)
@@ -723,12 +728,6 @@ extern int do_sysinfo(struct sysinfo *info);
723 728
724#endif /* __KERNEL__ */ 729#endif /* __KERNEL__ */
725 730
726#ifndef __EXPORTED_HEADERS__
727#ifndef __KERNEL__
728#warning Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders
729#endif /* __KERNEL__ */
730#endif /* __EXPORTED_HEADERS__ */
731
732#define SI_LOAD_SHIFT 16 731#define SI_LOAD_SHIFT 16
733struct sysinfo { 732struct sysinfo {
734 long uptime; /* Seconds since boot */ 733 long uptime; /* Seconds since boot */