aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-10-19 03:12:20 -0400
committerJeff Garzik <jeff@garzik.org>2007-10-23 19:53:17 -0400
commit7c2399756ab8ccb2c57da4630b4aa4a1d61b3846 (patch)
treed201140b6c42c92a1f283707861e824935ea0e39 /arch/x86/xen
parentf07ef395ad4cd050e695edfec217ceb2158220a3 (diff)
[SPARC, XEN, NET/CXGB3] use irq_handler_t where appropriate
Rather than hand-rolling our own prototype, make the code more future-proof by using the standard irq_handler_t typedef. Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'arch/x86/xen')
-rw-r--r--arch/x86/xen/events.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/xen/events.c b/arch/x86/xen/events.c
index da1b173547a1..6d1da5809e6f 100644
--- a/arch/x86/xen/events.c
+++ b/arch/x86/xen/events.c
@@ -383,7 +383,7 @@ static void unbind_from_irq(unsigned int irq)
383} 383}
384 384
385int bind_evtchn_to_irqhandler(unsigned int evtchn, 385int bind_evtchn_to_irqhandler(unsigned int evtchn,
386 irqreturn_t (*handler)(int, void *), 386 irq_handler_t handler,
387 unsigned long irqflags, 387 unsigned long irqflags,
388 const char *devname, void *dev_id) 388 const char *devname, void *dev_id)
389{ 389{
@@ -402,7 +402,7 @@ int bind_evtchn_to_irqhandler(unsigned int evtchn,
402EXPORT_SYMBOL_GPL(bind_evtchn_to_irqhandler); 402EXPORT_SYMBOL_GPL(bind_evtchn_to_irqhandler);
403 403
404int bind_virq_to_irqhandler(unsigned int virq, unsigned int cpu, 404int bind_virq_to_irqhandler(unsigned int virq, unsigned int cpu,
405 irqreturn_t (*handler)(int, void *), 405 irq_handler_t handler,
406 unsigned long irqflags, const char *devname, void *dev_id) 406 unsigned long irqflags, const char *devname, void *dev_id)
407{ 407{
408 unsigned int irq; 408 unsigned int irq;