• Aaro Koskinen's avatar
    sparc: pgtable_64: change include order · 2533e824
    Aaro Koskinen authored
    Fix the following build breakage in v3.4-rc1:
    
      CC      arch/sparc/kernel/cpu.o
    In file included from /home/aaro/git/linux/arch/sparc/include/asm/pgtable_64.h:15:0,
                     from /home/aaro/git/linux/arch/sparc/include/asm/pgtable.h:4,
                     from arch/sparc/kernel/cpu.c:15:
    include/asm-generic/pgtable-nopud.h:13:16: error: unknown type name 'pgd_t'
    include/asm-generic/pgtable-nopud.h:25:28: error: unknown type name 'pgd_t'
    include/asm-generic/pgtable-nopud.h:26:27: error: unknown type name 'pgd_t'
    include/asm-generic/pgtable-nopud.h:27:31: error: unknown type name 'pgd_t'
    include/asm-generic/pgtable-nopud.h:28:30: error: unknown type name 'pgd_t'
    include/asm-generic/pgtable-nopud.h:38:34: error: unknown type name 'pgd_t'
    In file included from /home/aaro/git/linux/arch/sparc/include/asm/pgtable_64.h:783:0,
                     from /home/aaro/git/linux/arch/sparc/include/asm/pgtable.h:4,
                     from arch/sparc/kernel/cpu.c:15:
    include/asm-generic/pgtable.h: In function 'pgd_none_or_clear_bad':
    include/asm-generic/pgtable.h:258:2: error: implicit declaration of function 'pgd_none' [-Werror=implicit-function-declaration]
    include/asm-generic/pgtable.h:260:2: error: implicit declaration of function 'pgd_bad' [-Werror=implicit-function-declaration]
    include/asm-generic/pgtable.h: In function 'pud_none_or_clear_bad':
    include/asm-generic/pgtable.h:269:6: error: request for member 'pgd' in something not a structure or union
    Reported-by: default avatarMeelis Roos <mroos@linux.ee>
    Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    2533e824
pgtable_64.h 24.7 KB