aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-i386/mtrr.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/mtrr.h')
-rw-r--r--include/asm-i386/mtrr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-i386/mtrr.h b/include/asm-i386/mtrr.h
index 02a41b99bd7e..7e9c7ccbdcfe 100644
--- a/include/asm-i386/mtrr.h
+++ b/include/asm-i386/mtrr.h
@@ -70,6 +70,7 @@ struct mtrr_gentry
70/* The following functions are for use by other drivers */ 70/* The following functions are for use by other drivers */
71# ifdef CONFIG_MTRR 71# ifdef CONFIG_MTRR
72extern void mtrr_save_fixed_ranges(void *); 72extern void mtrr_save_fixed_ranges(void *);
73extern void mtrr_save_state(void);
73extern int mtrr_add (unsigned long base, unsigned long size, 74extern int mtrr_add (unsigned long base, unsigned long size,
74 unsigned int type, char increment); 75 unsigned int type, char increment);
75extern int mtrr_add_page (unsigned long base, unsigned long size, 76extern int mtrr_add_page (unsigned long base, unsigned long size,
@@ -81,6 +82,7 @@ extern void mtrr_ap_init(void);
81extern void mtrr_bp_init(void); 82extern void mtrr_bp_init(void);
82# else 83# else
83#define mtrr_save_fixed_ranges(arg) do {} while (0) 84#define mtrr_save_fixed_ranges(arg) do {} while (0)
85#define mtrr_save_state() do {} while (0)
84static __inline__ int mtrr_add (unsigned long base, unsigned long size, 86static __inline__ int mtrr_add (unsigned long base, unsigned long size,
85 unsigned int type, char increment) 87 unsigned int type, char increment)
86{ 88{