aboutsummaryrefslogtreecommitdiff
path: root/include/asm-ia64/perfmon.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-31 11:07:54 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-31 11:07:54 -0700
commit2e3e80c2b75e3815a0160cbd23d4fdb767d66b35 (patch)
tree9b7fa103dfb222f809bf277668d9ac0636c060ee /include/asm-ia64/perfmon.h
parent4e7c6816d680d1945916db047a47847afe4b9b02 (diff)
parentfffcc150a21853651ea890a605832c5cccbb6279 (diff)
Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
Diffstat (limited to 'include/asm-ia64/perfmon.h')
-rw-r--r--include/asm-ia64/perfmon.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-ia64/perfmon.h b/include/asm-ia64/perfmon.h
index ed5416c5b1a..7f3333dd00e 100644
--- a/include/asm-ia64/perfmon.h
+++ b/include/asm-ia64/perfmon.h
@@ -177,6 +177,10 @@ typedef union {
extern long perfmonctl(int fd, int cmd, void *arg, int narg);
+typedef struct {
+ void (*handler)(int irq, void *arg, struct pt_regs *regs);
+} pfm_intr_handler_desc_t;
+
extern void pfm_save_regs (struct task_struct *);
extern void pfm_load_regs (struct task_struct *);
@@ -187,6 +191,10 @@ extern void pfm_syst_wide_update_task(struct task_struct *, unsigned long info,
extern void pfm_inherit(struct task_struct *task, struct pt_regs *regs);
extern void pfm_init_percpu(void);
extern void pfm_handle_work(void);
+extern int pfm_install_alt_pmu_interrupt(pfm_intr_handler_desc_t *h);
+extern int pfm_remove_alt_pmu_interrupt(pfm_intr_handler_desc_t *h);
+
+
/*
* Reset PMD register flags