Re: [PATCH] powerpc/test_emulate_sstep: Fix build error

2020-07-27 Thread Michael Ellerman
On Fri, 24 Jul 2020 10:41:09 +1000, Michael Ellerman wrote: > ppc64_book3e_allmodconfig fails with: > > arch/powerpc/lib/test_emulate_step.c: In function 'test_pld': > arch/powerpc/lib/test_emulate_step.c:113:7: error: implicit declaration of > function 'cpu_has_feature' > 113 | if (!cpu

[PATCH] powerpc/test_emulate_sstep: Fix build error

2020-07-23 Thread Michael Ellerman
ppc64_book3e_allmodconfig fails with: arch/powerpc/lib/test_emulate_step.c: In function 'test_pld': arch/powerpc/lib/test_emulate_step.c:113:7: error: implicit declaration of function 'cpu_has_feature' 113 | if (!cpu_has_feature(CPU_FTR_ARCH_31)) { | ^~~ Add an