diff options
90 files changed, 125 insertions, 37 deletions
diff --git a/arch/x86/include/asm/e820.h b/arch/x86/include/asm/e820.h index 3d8ceddbd407..00d41ce4c844 100644 --- a/arch/x86/include/asm/e820.h +++ b/arch/x86/include/asm/e820.h | |||
| @@ -49,6 +49,7 @@ | |||
| 49 | #define E820_RESERVED_KERN 128 | 49 | #define E820_RESERVED_KERN 128 |
| 50 | 50 | ||
| 51 | #ifndef __ASSEMBLY__ | 51 | #ifndef __ASSEMBLY__ |
| 52 | #include <linux/types.h> | ||
| 52 | struct e820entry { | 53 | struct e820entry { |
| 53 | __u64 addr; /* start of memory segment */ | 54 | __u64 addr; /* start of memory segment */ |
| 54 | __u64 size; /* size of memory segment */ | 55 | __u64 size; /* size of memory segment */ |
diff --git a/arch/x86/include/asm/kvm.h b/arch/x86/include/asm/kvm.h index b95162af0bf6..d2e3bf3608af 100644 --- a/arch/x86/include/asm/kvm.h +++ b/arch/x86/include/asm/kvm.h | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | * | 6 | * |
| 7 | */ | 7 | */ |
| 8 | 8 | ||
| 9 | #include <asm/types.h> | 9 | #include <linux/types.h> |
| 10 | #include <linux/ioctl.h> | 10 | #include <linux/ioctl.h> |
| 11 | 11 | ||
| 12 | /* Architectural interrupt line count. */ | 12 | /* Architectural interrupt line count. */ |
diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h index 1d6e17c2f23a..32c6e17b960b 100644 --- a/arch/x86/include/asm/mce.h +++ b/arch/x86/include/asm/mce.h | |||
| @@ -3,8 +3,8 @@ | |||
| 3 | 3 | ||
| 4 | #ifdef __x86_64__ | 4 | #ifdef __x86_64__ |
| 5 | 5 | ||
| 6 | #include <linux/types.h> | ||
| 6 | #include <asm/ioctls.h> | 7 | #include <asm/ioctls.h> |
| 7 | #include <asm/types.h> | ||
| 8 | 8 | ||
| 9 | /* | 9 | /* |
| 10 | * Machine Check support for x86 | 10 | * Machine Check support for x86 |
| @@ -115,8 +115,6 @@ extern int mce_notify_user(void); | |||
| 115 | 115 | ||
| 116 | #endif /* !CONFIG_X86_32 */ | 116 | #endif /* !CONFIG_X86_32 */ |
| 117 | 117 | ||
| 118 | |||
| 119 | |||
| 120 | #ifdef CONFIG_X86_MCE | 118 | #ifdef CONFIG_X86_MCE |
| 121 | extern void mcheck_init(struct cpuinfo_x86 *c); | 119 | extern void mcheck_init(struct cpuinfo_x86 *c); |
| 122 | #else | 120 | #else |
| @@ -126,5 +124,4 @@ extern void stop_mce(void); | |||
| 126 | extern void restart_mce(void); | 124 | extern void restart_mce(void); |
| 127 | 125 | ||
| 128 | #endif /* __KERNEL__ */ | 126 | #endif /* __KERNEL__ */ |
| 129 | |||
| 130 | #endif /* _ASM_X86_MCE_H */ | 127 | #endif /* _ASM_X86_MCE_H */ |
diff --git a/arch/x86/include/asm/mtrr.h b/arch/x86/include/asm/mtrr.h index 14080d22edb3..a51ada8467de 100644 --- a/arch/x86/include/asm/mtrr.h +++ b/arch/x86/include/asm/mtrr.h | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | #ifndef _ASM_X86_MTRR_H | 23 | #ifndef _ASM_X86_MTRR_H |
