summaryrefslogtreecommitdiff
path: root/src/cpu/x86/mtrr
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-04-07 03:40:37 +0000
committerStefan Reinauer <stepan@openbios.org>2010-04-07 03:40:37 +0000
commit8a9268451423da1648a4454aaf3b76c2989ee3b4 (patch)
treed3e232cbf4bc4a27cd80749e5ef1fc21e8a7dd16 /src/cpu/x86/mtrr
parent3dfd03f8878679902927748e305643b6000d0e5b (diff)
downloadcoreboot-8a9268451423da1648a4454aaf3b76c2989ee3b4.tar.xz
clean up age old via epia target.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5368 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/x86/mtrr')
-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.