• Ian Campbell's avatar
    x86: construct 32-bit boot time page tables in native format. · 551889a6
    Ian Campbell authored
    Specifically the boot time page tables in a CONFIG_X86_PAE=y enabled
    kernel are in PAE format.
    
    early_ioremap is updated to use the standard page table accessors.
    
    Clear any mappings beyond max_low_pfn from the boot page tables in
    native_pagetable_setup_start because the initial mappings can extend
    beyond the range of physical memory and into the vmalloc area.
    
    Derived from patches by Eric Biederman and H. Peter Anvin.
    
    [ jeremy@goop.org: PAE swapper_pg_dir needs to be page-sized fix ]
    Signed-off-by: default avatarIan Campbell <ijc@hellion.org.uk>
    Cc: H. Peter Anvin <hpa@zytor.com>
    Cc: Eric W. Biederman <ebiederm@xmission.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Cc: Mika Penttilä <mika.penttila@kolumbus.fi>
    Cc: Jeremy Fitzhardinge <jeremy@goop.org>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    551889a6
page_32.h 2.42 KB