[PATCH] powerpc/64: Include cache.h directly in paca.h

Michael Ellerman patch-notifications at ellerman.id.au
Sat May 28 22:53:07 AEST 2022


On Fri, 27 May 2022 21:20:35 +1000, Michael Ellerman wrote:
> 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:
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/64: Include cache.h directly in paca.h
      https://git.kernel.org/powerpc/c/dcf280e6f80be280ca7dd1b058f038654e4a18dd

cheers


More information about the Linuxppc-dev mailing list