headers_check fix: x86, mce.h

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: default avatarJaswinder Singh Rajput <jaswinderrajput@gmail.com>
parent cef37678
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
#ifdef __x86_64__ #ifdef __x86_64__
#include <linux/types.h>
#include <asm/ioctls.h> #include <asm/ioctls.h>
#include <asm/types.h>
/* /*
* Machine Check support for x86 * Machine Check support for x86
...@@ -115,8 +115,6 @@ extern int mce_notify_user(void); ...@@ -115,8 +115,6 @@ extern int mce_notify_user(void);
#endif /* !CONFIG_X86_32 */ #endif /* !CONFIG_X86_32 */
#ifdef CONFIG_X86_MCE #ifdef CONFIG_X86_MCE
extern void mcheck_init(struct cpuinfo_x86 *c); extern void mcheck_init(struct cpuinfo_x86 *c);
#else #else
...@@ -126,5 +124,4 @@ extern void stop_mce(void); ...@@ -126,5 +124,4 @@ extern void stop_mce(void);
extern void restart_mce(void); extern void restart_mce(void);
#endif /* __KERNEL__ */ #endif /* __KERNEL__ */
#endif /* _ASM_X86_MCE_H */ #endif /* _ASM_X86_MCE_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment