diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/cpu/mtrr/cleanup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/mtrr/cleanup.c b/arch/x86/kernel/cpu/mtrr/cleanup.c index ac140c7be396..bdda2e6c673b 100644 --- a/arch/x86/kernel/cpu/mtrr/cleanup.c +++ b/arch/x86/kernel/cpu/mtrr/cleanup.c | |||
@@ -266,7 +266,7 @@ range_to_mtrr(unsigned int reg, unsigned long range_startk, | |||
266 | if (align > max_align) | 266 | if (align > max_align) |
267 | align = max_align; | 267 | align = max_align; |
268 | 268 | ||
269 | sizek = 1 << align; | 269 | sizek = 1UL << align; |
270 | if (debug_print) { | 270 | if (debug_print) { |
271 | char start_factor = 'K', size_factor = 'K'; | 271 | char start_factor = 'K', size_factor = 'K'; |
272 | unsigned long start_base, size_base; | 272 | unsigned long start_base, size_base; |