diff options
author | David S. Miller <davem@davemloft.net> | 2008-11-21 02:06:07 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-04 09:17:00 -0800 |
commit | 2c2551ab99f9ba3c726e6a41c84ef0c7390fc546 (patch) | |
tree | 21f7fb7366c27feae8e03f30951da27ef7f9d249 /arch/sparc | |
parent | 0871420fad5844cb63cfcf85508c17bd9b15c08f (diff) | |
download | linux-3.10-2c2551ab99f9ba3c726e6a41c84ef0c7390fc546.tar.gz linux-3.10-2c2551ab99f9ba3c726e6a41c84ef0c7390fc546.tar.bz2 linux-3.10-2c2551ab99f9ba3c726e6a41c84ef0c7390fc546.zip |
sparc64: Add interface for registering a performance counter IRQ handler.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/include/asm/irq_64.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/irq_64.h b/arch/sparc/include/asm/irq_64.h index 71673eca366..d47d4a1955a 100644 --- a/arch/sparc/include/asm/irq_64.h +++ b/arch/sparc/include/asm/irq_64.h @@ -66,6 +66,9 @@ extern void virt_irq_free(unsigned int virt_irq); extern void __init init_IRQ(void); extern void fixup_irqs(void); +extern int register_perfctr_intr(void (*handler)(struct pt_regs *)); +extern void release_perfctr_intr(void (*handler)(struct pt_regs *)); + static inline void set_softint(unsigned long bits) { __asm__ __volatile__("wr %0, 0x0, %%set_softint" |