[PATCH] powerpc/32: Include thread_info.h in head_booke.h
Michael Ellerman
patch-notifications at ellerman.id.au
Wed Apr 26 22:01:45 AEST 2023
On Thu, 06 Apr 2023 10:51:30 -0700, Nathan Chancellor wrote:
> When building with W=1 after commit 80b6093b55e3 ("kbuild: add -Wundef
> to KBUILD_CPPFLAGS for W=1 builds"), the following warning occurs.
>
> In file included from arch/powerpc/kvm/bookehv_interrupts.S:26:
> arch/powerpc/kvm/../kernel/head_booke.h:20:6: warning: "THREAD_SHIFT" is not defined, evaluates to 0 [-Wundef]
> 20 | #if (THREAD_SHIFT < 15)
> | ^~~~~~~~~~~~
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/32: Include thread_info.h in head_booke.h
https://git.kernel.org/powerpc/c/8002725b9e3369ce8616d32dc2e7a57870475142
cheers
More information about the Linuxppc-dev
mailing list