aboutsummaryrefslogtreecommitdiff
path: root/include/asm-ppc/perfmon.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-09-19 23:28:21 +1000
committerPaul Mackerras <paulus@samba.org>2005-09-21 19:21:08 +1000
commit82cd02c16be99cba6a97d38488aee8807580a202 (patch)
tree36d1d79b87ed91df0a0a91164a3acd21cab2e971 /include/asm-ppc/perfmon.h
parent86a5cddbd9676b129cfa2ed7a1a11759d3b2b512 (diff)
[PATCH] powerpc: reduce oprofile/common.c differences
Rename and slightly modify {request,free}_perfmon_irq in the ppc code. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc/perfmon.h')
-rw-r--r--include/asm-ppc/perfmon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-ppc/perfmon.h b/include/asm-ppc/perfmon.h
index e9692a603cf..2ae031594a4 100644
--- a/include/asm-ppc/perfmon.h
+++ b/include/asm-ppc/perfmon.h
@@ -3,8 +3,8 @@
extern void (*perf_irq)(struct pt_regs *);
-int request_perfmon_irq(void (*handler)(struct pt_regs *));
-void free_perfmon_irq(void);
+int reserve_pmc_hardware(void (*handler)(struct pt_regs *));
+void release_pmc_hardware(void);
#ifdef CONFIG_FSL_BOOKE
void init_pmc_stop(int ctr);