diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cpu/x86/mtrr/mtrr.c | 3 | ||||
-rw-r--r-- | src/include/cpu/x86/mtrr.h | 2 |
2 files changed, 2 insertions, 3 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); } diff --git a/src/include/cpu/x86/mtrr.h b/src/include/cpu/x86/mtrr.h index 2a440723b8..95cabf1247 100644 --- a/src/include/cpu/x86/mtrr.h +++ b/src/include/cpu/x86/mtrr.h @@ -66,7 +66,7 @@ void enable_fixed_mtrr(void); void x86_setup_fixed_mtrrs(void); /* Set up fixed MTRRs but do not enable them. */ void x86_setup_fixed_mtrrs_no_enable(void); -int x86_mtrr_check(void); +void x86_mtrr_check(void); #endif #if !defined(__ASSEMBLER__) && defined(__PRE_RAM__) && !defined(__ROMCC__) |