[PATCH 2/5] arch/x86/kernel/head_32.S Warning: shift count out of range (32 is not between 0 and 31)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: =?ISO-8859-1?Q?Ren=E9_Bolldorf?=
Date: Thursday, March 18, 2010 - 3:08 pm

Signed-off-by: Rene Bolldorf <xsecute@googlemail.com>

diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S
index 37c3d4b..8bfba5e 100644
--- a/arch/x86/kernel/head_32.S
+++ b/arch/x86/kernel/head_32.S
@@ -62,7 +62,7 @@

  /* Enough space to fit pagetables for the low memory linear map */
  MAPPING_BEYOND_END = \
-	PAGE_TABLE_SIZE(((1<<32) - __PAGE_OFFSET) >> PAGE_SHIFT) << PAGE_SHIFT
+	PAGE_TABLE_SIZE(((1<<31) - __PAGE_OFFSET) >> PAGE_SHIFT) << PAGE_SHIFT

  /*
   * Worst-case size of the kernel mapping we need to make:
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2/5] arch/x86/kernel/head_32.S Warning: shift count ..., =?ISO-8859-1?Q?Ren=E ..., (Thu Mar 18, 3:08 pm)
Re: [PATCH 2/5] arch/x86/kernel/head_32.S Warning: shift c ..., =?UTF-8?B?UmVuw6kgQm ..., (Fri Mar 19, 3:43 pm)
Re: [PATCH 2/5] arch/x86/kernel/head_32.S Warning: shift c ..., =?UTF-8?B?UmVuw6kgQm ..., (Fri Mar 19, 4:27 pm)