• Alexey Dobriyan's avatar
    m68k: Fix redefinition of pgprot_noncached · 9fd926b4
    Alexey Dobriyan authored
    arch/m68k/include/asm/pgtable_mm.h:148:1: warning: "pgprot_noncached" redefined
    In file included from arch/m68k/include/asm/pgtable_mm.h:138,
                     from arch/m68k/include/asm/pgtable.h:4,
                     from include/linux/mm.h:40,
                     from include/linux/pagemap.h:7,
                     from include/linux/blkdev.h:12,
                     from arch/m68k/emu/nfblock.c:17:
    include/asm-generic/pgtable.h:133:1: warning: this is the location of the previous definition
    
    pgprot_noncached() should be defined _before_ including asm-generic/pgtable.h
    Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
    Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
    9fd926b4
pgtable_mm.h 4.31 KB