• Russell King's avatar
    [PATCH] Clean up asm/pgalloc.h include 3 · d01034ea
    Russell King authored
    This patch cleans up needless includes of asm/pgalloc.h from the arch/i386/
    subtree.  Compile tested on x86_pc SMP.
    
    [I also tried VISWS + SMP without PM doesn't build in smpboot.c,
     though I don't believe its caused by this patch.  With PM, fails
     to link complaining maxcpus is undefined.  Therefore, I presume
     VISWS + SMP is an invalid configuration.]
    
    This patch is part of a larger patch aiming towards getting the include of
    asm/pgtable.h out of linux/mm.h, so that asm/pgtable.h can sanely get at
    things like mm_struct and friends.
    
    I suggest testing in -mm for a while to ensure there aren't any hidden arch
    issues.
    
    The outstanding list of files for other architectures can be found
    at http://www.arm.linux.org.uk/misc/pgalloc.txtSigned-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    d01034ea
efi.c 17.1 KB