aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86_64')
-rw-r--r--include/asm-x86_64/mtrr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86_64/mtrr.h b/include/asm-x86_64/mtrr.h
index 1b326cbb9305..b557c486bef8 100644
--- a/include/asm-x86_64/mtrr.h
+++ b/include/asm-x86_64/mtrr.h
@@ -139,10 +139,12 @@ struct mtrr_gentry32
139extern void mtrr_ap_init(void); 139extern void mtrr_ap_init(void);
140extern void mtrr_bp_init(void); 140extern void mtrr_bp_init(void);
141extern void mtrr_save_fixed_ranges(void *); 141extern void mtrr_save_fixed_ranges(void *);
142extern void mtrr_save_state(void);
142#else 143#else
143#define mtrr_ap_init() do {} while (0) 144#define mtrr_ap_init() do {} while (0)
144#define mtrr_bp_init() do {} while (0) 145#define mtrr_bp_init() do {} while (0)
145#define mtrr_save_fixed_ranges(arg) do {} while (0) 146#define mtrr_save_fixed_ranges(arg) do {} while (0)
147#define mtrr_save_state() do {} while (0)
146#endif 148#endif
147 149
148#endif /* __KERNEL__ */ 150#endif /* __KERNEL__ */