Thread (4 messages) 4 messages, 3 authors, 2022-05-28

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

From: Michael Ellerman <hidden>
Date: 2022-05-28 12:54:46

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help