Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147242
b: refs/heads/master
c: aabbaa6
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mackerras committed Mar 6, 2009
1 parent 895bd70 commit 7a2d6fc
Show file tree
Hide file tree
Showing 4 changed files with 459 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 86028598de16538f02519141756ccf4accfc29a6
refs/heads/master: aabbaa6036fd847c583f585c6bae82b5a033e6c7
4 changes: 2 additions & 2 deletions trunk/arch/powerpc/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ obj-$(CONFIG_AUDIT) += audit.o
obj64-$(CONFIG_AUDIT) += compat_audit.o

obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o
obj-$(CONFIG_PERF_COUNTERS) += perf_counter.o ppc970-pmu.o power5-pmu.o \
power6-pmu.o
obj-$(CONFIG_PERF_COUNTERS) += perf_counter.o ppc970-pmu.o \
power5-pmu.o power5+-pmu.o power6-pmu.o

obj-$(CONFIG_8XX_MINIMAL_FPEMU) += softemu8xx.o

Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/powerpc/kernel/perf_counter.c
Original file line number Diff line number Diff line change
Expand Up @@ -826,6 +826,7 @@ void hw_perf_counter_setup(int cpu)

extern struct power_pmu ppc970_pmu;
extern struct power_pmu power5_pmu;
extern struct power_pmu power5p_pmu;
extern struct power_pmu power6_pmu;

static int init_perf_counters(void)
Expand All @@ -848,6 +849,9 @@ static int init_perf_counters(void)
case PV_POWER5:
ppmu = &power5_pmu;
break;
case PV_POWER5p:
ppmu = &power5p_pmu;
break;
case 0x3e:
ppmu = &power6_pmu;
break;
Expand Down
Loading

0 comments on commit 7a2d6fc

Please sign in to comment.