Skip to content

Commit

Permalink
headers_check fix: x86, mce.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jaswinder Singh Rajput committed Jan 30, 2009
1 parent cef3767 commit 999b697
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions arch/x86/include/asm/mce.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

#ifdef __x86_64__

#include <linux/types.h>
#include <asm/ioctls.h>
#include <asm/types.h>

/*
* Machine Check support for x86
Expand Down Expand Up @@ -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
Expand All @@ -126,5 +124,4 @@ extern void stop_mce(void);
extern void restart_mce(void);

#endif /* __KERNEL__ */

#endif /* _ASM_X86_MCE_H */

0 comments on commit 999b697

Please sign in to comment.