On Sun, 18 Apr 2021 23:16:41 +1000, Michael Ellerman wrote: > We have some interesting code in our Makefile to define _TASK_CPU, based > on awk'ing the value out of asm-offsets.h. It exists to circumvent some > circular header dependencies that prevent us from referring to > task_struct in the relevant code. See the comment around _TASK_CPU in > smp.h for more detail. > > Maybe one day we can come up with a better solution, but for now we can > at least limit that logic to 32-bit, because it's not needed for 64-bit.
Applied to powerpc/next. [1/1] powerpc: Only define _TASK_CPU for 32-bit https://git.kernel.org/powerpc/c/3027a37c06be364e6443d3df3adf45576fba50cb cheers