headers_check fix: x86, mce.h
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Fri, 30 Jan 2009 17:17:27 +0000 (22:47 +0530)
committerJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Fri, 30 Jan 2009 18:47:13 +0000 (00:17 +0530)
fix the following 'make headers_check' warnings:

  usr/include/asm/mce.h:7: include of <linux/types.h> is preferred over <asm/types.h>
  usr/include/asm/mce.h:29: found __[us]{8,16,32,64} type without #include <linux/types.h>

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
arch/x86/include/asm/mce.h

index 1d6e17c2f23a3be2ffffebf7f1df19c1786e9dd6..32c6e17b960b7aed994078dc1d5c1fb4e547b2a4 100644 (file)
@@ -3,8 +3,8 @@
 
 #ifdef __x86_64__
 
+#include <linux/types.h>
 #include <asm/ioctls.h>
-#include <asm/types.h>
 
 /*
  * Machine Check support for x86
@@ -115,8 +115,6 @@ extern int mce_notify_user(void);
 
 #endif /* !CONFIG_X86_32 */
 
-
-
 #ifdef CONFIG_X86_MCE
 extern void mcheck_init(struct cpuinfo_x86 *c);
 #else
@@ -126,5 +124,4 @@ extern void stop_mce(void);
 extern void restart_mce(void);
 
 #endif /* __KERNEL__ */
-
 #endif /* _ASM_X86_MCE_H */