diff options
-rw-r--r-- | src/cpu/x86/mtrr/earlymtrr.c | 3 | ||||
-rw-r--r-- | src/cpu/x86/tsc/delay_tsc.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/cpu/x86/mtrr/earlymtrr.c b/src/cpu/x86/mtrr/earlymtrr.c index 3198df3ed2..4ee54a370f 100644 --- a/src/cpu/x86/mtrr/earlymtrr.c +++ b/src/cpu/x86/mtrr/earlymtrr.c @@ -43,7 +43,8 @@ int get_free_var_mtrr(void) static #endif void set_var_mtrr( - unsigned reg, unsigned base, unsigned size, unsigned type) + unsigned int reg, unsigned int base, unsigned int size, + unsigned int type) { /* Bit Bit 32-35 of MTRRphysMask should be set to 1 */ /* FIXME: It only support 4G less range */ diff --git a/src/cpu/x86/tsc/delay_tsc.c b/src/cpu/x86/tsc/delay_tsc.c index 0c5dc9e60b..c8b7ba01dc 100644 --- a/src/cpu/x86/tsc/delay_tsc.c +++ b/src/cpu/x86/tsc/delay_tsc.c @@ -116,7 +116,7 @@ static inline unsigned long get_clocks_per_usec(void) return car_get_var(clocks_per_usec); } -void udelay(unsigned us) +void udelay(unsigned int us) { unsigned long long start; unsigned long long current; |