summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/x86/mtrr/earlymtrr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/x86/mtrr/earlymtrr.c b/src/cpu/x86/mtrr/earlymtrr.c
index 8a7ecbc54c..90ef16cb9c 100644
--- a/src/cpu/x86/mtrr/earlymtrr.c
+++ b/src/cpu/x86/mtrr/earlymtrr.c
@@ -53,7 +53,7 @@ static void set_var_mtrr_x(
}
#endif
-static void cache_lbmem(int type)
+static inline void cache_lbmem(int type)
{
/* Enable caching for 0 - 1MB using variable mtrr */
disable_cache();
@@ -118,7 +118,7 @@ static void early_mtrr_init(void)
enable_cache();
}
-static int early_mtrr_init_detected(void)
+static inline int early_mtrr_init_detected(void)
{
msr_t msr;
/* See if MTRR's are enabled.