Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56769
b: refs/heads/master
c: 177e9ea
h: refs/heads/master
i:
  56767: 4e9a18d
v: v3
  • Loading branch information
Anton Blanchard authored and Paul Mackerras committed May 22, 2007
1 parent 515f60b commit edeb4c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 2fae4985a135ca5d7d9bba17d45d674c099621b4
refs/heads/master: 177e9ea49deea238f59bb0b1708cfc60b75828fb
6 changes: 3 additions & 3 deletions trunk/arch/powerpc/kernel/pmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#include <asm/cputable.h>
#include <asm/pmc.h>

#ifndef MMCR0_PMA0
#define MMCR0_PMA0 0
#ifndef MMCR0_PMAO
#define MMCR0_PMAO 0
#endif

static void dummy_perf(struct pt_regs *regs)
Expand All @@ -30,7 +30,7 @@ static void dummy_perf(struct pt_regs *regs)
mtpmr(PMRN_PMGC0, mfpmr(PMRN_PMGC0) & ~PMGC0_PMIE);
#elif defined(CONFIG_PPC64) || defined(CONFIG_6xx)
if (cur_cpu_spec->pmc_type == PPC_PMC_IBM)
mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~(MMCR0_PMXE|MMCR0_PMA0));
mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~(MMCR0_PMXE|MMCR0_PMAO));
#else
mtspr(SPRN_MMCR0, mfspr(SPRN_MMCR0) & ~MMCR0_PMXE);
#endif
Expand Down

0 comments on commit edeb4c2

Please sign in to comment.