Skip to content

Commit

Permalink
powerpc/pmc: Don't access lppaca on Book3E
Browse files Browse the repository at this point in the history
It doesn't exist !

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Benjamin Herrenschmidt committed Sep 24, 2009
1 parent 0f33727 commit ad08587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/include/asm/pmc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ad08587

Please sign in to comment.