• Russell King's avatar
    [PATCH] Clean up asm/pgalloc.h include · a646de6c
    Russell King authored
    This patch cleans up needless includes of asm/pgalloc.h from the drivers/
    subtree.  drivers/char/mem.c has been compile tested; the others have not,
    since they are for non-x86 and non-ARM architectures.
    
    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>
    a646de6c
sun3lance.c 26.1 KB