powerpc/pmc: Don't access lppaca on Book3E
PATCH 1/1 powerpc/pmc: Don't access lppaca on Book3E
It doesn't exist !
Signed-off-by Benjamin Herrenschmidt <[email protected]>
--- arch/powerpc/include/asm/pmc.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/powerpc/include/asm/pmc.h +1 -1
@@ -29,7 +29,7 @@ int reserve_pmc_hardware(perf_irq_t new_perf_irq);void release_pmc_hardware (void );void ppc_enable_pmcs (void ); -#ifdef CONFIG_PPC64 +#ifdef CONFIG_PPC_BOOK3S_64 #include <asm/lppaca.h> static inline void ppc_set_pmu_inuse (int inuse)
Signature · 1 line
1.6.0.4