• keith mannthey's avatar
    [PATCH] i386 bootioremap / kexec fix · 24fd425e
    keith mannthey authored
    With CONFIG_PHYSICAL_START set to a non default values the i386
    boot_ioremap code calculated its pte index wrong and users of boot_ioremap
    have their areas incorrectly mapped (for me SRAT table not mapped during
    early boot).  This patch removes the addr < BOOT_PTE_PTRS constraint.
    
    [ Keith says this is applicable to 2.6.16 and 2.6.17 as well ]
    
    Signed-off-by: Keith Mannthey<kmannth@us.ibm.com>
    Cc: Vivek Goyal <vgoyal@in.ibm.com>
    Cc: Dave Hansen <haveblue@us.ibm.com>
    Cc: <stable@kernel.org>
    Cc: Adrian Bunk <bunk@stusta.de>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    24fd425e
boot_ioremap.c 2.75 KB