diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-09-12 18:08:08 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-09-24 07:31:39 +0200 |
commit | ad08587e5df17e192a57437bfedaba125998de25 (patch) | |
tree | 10f8344e627f609cce03fc05c679805bfd2152a9 /arch/powerpc | |
parent | powerpc: kmalloc failure ignored in vio_build_iommu_table() (diff) | |
download | linux-ad08587e5df17e192a57437bfedaba125998de25.tar.xz linux-ad08587e5df17e192a57437bfedaba125998de25.zip |
powerpc/pmc: Don't access lppaca on Book3E
It doesn't exist !
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/include/asm/pmc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/pmc.h b/arch/powerpc/include/asm/pmc.h index ccc68b50d05d..5a9ede4962cb 100644 --- a/arch/powerpc/include/asm/pmc.h +++ b/arch/powerpc/include/asm/pmc.h @@ -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) |