Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/pmc: Don't access lppaca on Book3E

It doesn't exist !

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

+1 -1
+1 -1
arch/powerpc/include/asm/pmc.h
··· 29 29 void release_pmc_hardware(void); 30 30 void ppc_enable_pmcs(void); 31 31 32 - #ifdef CONFIG_PPC64 32 + #ifdef CONFIG_PPC_BOOK3S_64 33 33 #include <asm/lppaca.h> 34 34 35 35 static inline void ppc_set_pmu_inuse(int inuse)