aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/x86/mtrr
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/x86/mtrr')
-rw-r--r--src/cpu/x86/mtrr/mtrr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpu/x86/mtrr/mtrr.c b/src/cpu/x86/mtrr/mtrr.c
index 8826535528..b19b853196 100644
--- a/src/cpu/x86/mtrr/mtrr.c
+++ b/src/cpu/x86/mtrr/mtrr.c
@@ -772,7 +772,7 @@ void x86_setup_mtrrs(void)
x86_setup_var_mtrrs(address_size, 1);
}
-int x86_mtrr_check(void)
+void x86_mtrr_check(void)
{
/* Only Pentium Pro and later have MTRR */
msr_t msr;
@@ -795,5 +795,4 @@ int x86_mtrr_check(void)
printk(BIOS_DEBUG, "\n");
post_code(0x93);
- return ((int) msr.lo);
}