diff options
Diffstat (limited to 'include/asm-x86_64/mtrr.h')
-rw-r--r-- | include/asm-x86_64/mtrr.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-x86_64/mtrr.h b/include/asm-x86_64/mtrr.h index d6135b2549bf..66809eca98cf 100644 --- a/include/asm-x86_64/mtrr.h +++ b/include/asm-x86_64/mtrr.h | |||
@@ -135,6 +135,14 @@ struct mtrr_gentry32 | |||
135 | 135 | ||
136 | #endif /* CONFIG_COMPAT */ | 136 | #endif /* CONFIG_COMPAT */ |
137 | 137 | ||
138 | #ifdef CONFIG_MTRR | ||
139 | extern void mtrr_ap_init(void); | ||
140 | extern void mtrr_bp_init(void); | ||
141 | #else | ||
142 | #define mtrr_ap_init() do {} while (0) | ||
143 | #define mtrr_bp_init() do {} while (0) | ||
144 | #endif | ||
145 | |||
138 | #endif /* __KERNEL__ */ | 146 | #endif /* __KERNEL__ */ |
139 | 147 | ||
140 | #endif /* _LINUX_MTRR_H */ | 148 | #endif /* _LINUX_MTRR_H */ |