aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/hugetlb.h
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2022-05-27 21:15:41 +1000
committerMichael Ellerman <[email protected]>2022-05-27 22:20:09 +1000
commitdcf280e6f80be280ca7dd1b058f038654e4a18dd (patch)
tree69a8439ef7fb90f02021e2c3634d3ea1059577ab /arch/powerpc/include/asm/hugetlb.h
parentc85ab4fe33065ca1fdcac26f0c00c837fe727ba7 (diff)
powerpc/64: Include cache.h directly in paca.h
paca.h uses ____cacheline_aligned without directly including cache.h, where it's defined. For Book3S builds that's OK because paca.h includes lppaca.h, and it does include cache.h. But Book3E builds have been getting cache.h indirectly via printk.h, which is dicey, and in fact that include was recently removed, leading to build errors such as: ld: fs/isofs/dir.o:(.bss+0x0): multiple definition of `____cacheline_aligned'; fs/isofs/namei.o:(.bss+0x0): first defined here So include cache.h directly to fix the build error. Fixes: 534aa1dc975a ("printk: stop including cache.h from printk.h") Reported-by: Guenter Roeck <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/include/asm/hugetlb.h')
0 files changed, 0 insertions, 0 deletions