UPSTREAM: cpu/x86: Add int to unsigned
Fix the following warning detected by checkpatch.pl:
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
TEST=Build and run on Galileo Gen2
Change-Id: I068dd20c4cbfdfb8b7a0703c3711582eaa884743
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 8ca9a21a43
Original-Change-Id: I97bbe8ba19680bdb99fa38daa5e18b440c338576
Original-Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Original-Reviewed-on: https://review.coreboot.org/18843
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Philippe Mathieu-Daud <philippe.mathieu.daude@gmail.com>
Original-Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://chromium-review.googlesource.com/456239
This commit is contained in:
parent
174294afe7
commit
9924bb0f08
2 changed files with 3 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue