diff options
author | Jaswinder Singh Rajput <jaswinder@kernel.org> | 2009-03-18 08:06:55 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-18 08:14:31 -0400 |
commit | 4e16c888754468a58d4829c2eba2c6aa3a065e2b (patch) | |
tree | 0b95f78685ebdac302ca07531f42195a35643243 /arch/x86/kernel | |
parent | f0348c438c9ea156194d31fadde4a9e75522196f (diff) |
x86: cpu/mttr/cleanup.c fix compilation warning
arch/x86/kernel/cpu/mtrr/cleanup.c:197: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long unsigned int’
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Cc: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <1237378015.13488.1.camel@localhost.localdomain>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/cpu/mtrr/cleanup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/mtrr/cleanup.c b/arch/x86/kernel/cpu/mtrr/cleanup.c index f4f89fbc228f..ce0fe4b5c04f 100644 --- a/arch/x86/kernel/cpu/mtrr/cleanup.c +++ b/arch/x86/kernel/cpu/mtrr/cleanup.c | |||
@@ -160,8 +160,9 @@ x86_get_mtrr_mem_range(struct res_range *range, int nr_range, | |||
160 | unsigned long extra_remove_base, | 160 | unsigned long extra_remove_base, |
161 | unsigned long extra_remove_size) | 161 | unsigned long extra_remove_size) |
162 | { | 162 | { |
163 | unsigned long i, base, size; | 163 | unsigned long base, size; |
164 | mtrr_type type; | 164 | mtrr_type type; |
165 | int i; | ||
165 | 166 | ||
166 | for (i = 0; i < num_var_ranges; i++) { | 167 | for (i = 0; i < num_var_ranges; i++) { |
167 | type = range_state[i].type; | 168 | type = range_state[i].type; |