• Russell King's avatar
    [PATCH] Clean up asm/pgalloc.h include · 1c60f076
    Russell King authored
    This patch cleans up needless includes of asm/pgalloc.h from the fs/
    kernel/ and mm/ subtrees.  Compile tested on multiple ARM platforms, and
    x86, this patch appears safe.
    
    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.
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    1c60f076
mprotect.c 6.06 KB