Re: [PATCH v2 1/2] powerpc: untangle cputable mce include

2020-10-06 Thread Michael Ellerman
On Wed, 16 Sep 2020 13:02:33 +1000, Nicholas Piggin wrote: > Having cputable.h include mce.h means it pulls in a bunch of low level > headers (e.g., synch.h) which then can't use CPU_FTR_ definitions. Applied to powerpc/next. [1/2] powerpc: untangle cputable mce include https://git.kernel.o

[PATCH v2 1/2] powerpc: untangle cputable mce include

2020-09-15 Thread Nicholas Piggin
Having cputable.h include mce.h means it pulls in a bunch of low level headers (e.g., synch.h) which then can't use CPU_FTR_ definitions. Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/cputable.h | 5 - arch/powerpc/kernel/cputable.c | 1 + arch/powerpc/kernel/dt_cpu_ftrs.c