diff options
Diffstat (limited to 'include/asm-i386')
-rw-r--r-- | include/asm-i386/mtrr.h | 4 | ||||
-rw-r--r-- | include/asm-i386/processor.h | 8 |
2 files changed, 4 insertions, 8 deletions
diff --git a/include/asm-i386/mtrr.h b/include/asm-i386/mtrr.h index 5a46de08efea..07f063ae26ea 100644 --- a/include/asm-i386/mtrr.h +++ b/include/asm-i386/mtrr.h | |||
@@ -76,6 +76,8 @@ extern int mtrr_add_page (unsigned long base, unsigned long size, | |||
76 | extern int mtrr_del (int reg, unsigned long base, unsigned long size); | 76 | extern int mtrr_del (int reg, unsigned long base, unsigned long size); |
77 | extern int mtrr_del_page (int reg, unsigned long base, unsigned long size); | 77 | extern int mtrr_del_page (int reg, unsigned long base, unsigned long size); |
78 | extern void mtrr_centaur_report_mcr(int mcr, u32 lo, u32 hi); | 78 | extern void mtrr_centaur_report_mcr(int mcr, u32 lo, u32 hi); |
79 | extern void mtrr_ap_init(void); | ||
80 | extern void mtrr_bp_init(void); | ||
79 | # else | 81 | # else |
80 | static __inline__ int mtrr_add (unsigned long base, unsigned long size, | 82 | static __inline__ int mtrr_add (unsigned long base, unsigned long size, |
81 | unsigned int type, char increment) | 83 | unsigned int type, char increment) |
@@ -100,6 +102,8 @@ static __inline__ int mtrr_del_page (int reg, unsigned long base, | |||
100 | 102 | ||
101 | static __inline__ void mtrr_centaur_report_mcr(int mcr, u32 lo, u32 hi) {;} | 103 | static __inline__ void mtrr_centaur_report_mcr(int mcr, u32 lo, u32 hi) {;} |
102 | 104 | ||
105 | #define mtrr_ap_init() do {} while (0) | ||
106 | #define mtrr_bp_init() do {} while (0) | ||
103 | # endif | 107 | # endif |
104 | 108 | ||
105 | #endif | 109 | #endif |
diff --git a/include/asm-i386/processor.h b/include/asm-i386/processor.h index 4df3818e4122..5116465272ec 100644 --- a/include/asm-i386/processor.h +++ b/include/asm-i386/processor.h | |||
@@ -728,14 +728,6 @@ extern unsigned long boot_option_idle_override; | |||
728 | extern void enable_sep_cpu(void); | 728 | extern void enable_sep_cpu(void); |
729 | extern int sysenter_setup(void); | 729 | extern int sysenter_setup(void); |
730 | 730 | ||
731 | #ifdef CONFIG_MTRR | ||
732 | extern void mtrr_ap_init(void); | ||
733 | extern void mtrr_bp_init(void); | ||
734 | #else | ||
735 | #define mtrr_ap_init() do {} while (0) | ||
736 | #define mtrr_bp_init() do {} while (0) | ||
737 | #endif | ||
738 | |||
739 | #ifdef CONFIG_X86_MCE | 731 | #ifdef CONFIG_X86_MCE |
740 | extern void mcheck_init(struct cpuinfo_x86 *c); | 732 | extern void mcheck_init(struct cpuinfo_x86 *c); |
741 | #else | 733 | #else |