diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-10-09 07:47:31 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-09 17:19:07 -0400 |
commit | a23b7cb998f18101f9b0f505d81e6c68a7830a05 (patch) | |
tree | 420da4aac3bda17126befeeb34301e5166c63296 | |
parent | 041a6baec5a9260ad8b71c43a7ea1de95dfa974c (diff) |
[PATCH] more ia64 irq handlers
Cast to (void *) in request_irq() argument is stupid and
only hides problems...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | arch/ia64/sn/kernel/huberror.c | 4 | ||||
-rw-r--r-- | arch/ia64/sn/pci/pcibr/pcibr_provider.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/ia64/sn/kernel/huberror.c b/arch/ia64/sn/kernel/huberror.c index 96fb81e6321f..abca6bd7962f 100644 --- a/arch/ia64/sn/kernel/huberror.c +++ b/arch/ia64/sn/kernel/huberror.c | |||
@@ -22,7 +22,7 @@ | |||
22 | void hubiio_crb_error_handler(struct hubdev_info *hubdev_info); | 22 | void hubiio_crb_error_handler(struct hubdev_info *hubdev_info); |
23 | extern void bte_crb_error_handler(cnodeid_t, int, int, ioerror_t *, | 23 | extern void bte_crb_error_handler(cnodeid_t, int, int, ioerror_t *, |
24 | int); | 24 | int); |
25 | static irqreturn_t hub_eint_handler(int irq, void *arg, struct pt_regs *ep) | 25 | static irqreturn_t hub_eint_handler(int irq, void *arg) |
26 | { | 26 | { |
27 | struct hubdev_info *hubdev_info; | 27 | struct hubdev_info *hubdev_info; |
28 | struct ia64_sal_retval ret_stuff; | 28 | struct ia64_sal_retval ret_stuff; |
@@ -178,7 +178,7 @@ void hubiio_crb_error_handler(struct hubdev_info *hubdev_info) | |||
178 | */ | 178 | */ |
179 | void hub_error_init(struct hubdev_info *hubdev_info) | 179 | void hub_error_init(struct hubdev_info *hubdev_info) |
180 | { | 180 | { |
181 | if (request_irq(SGI_II_ERROR, (void *)hub_eint_handler, IRQF_SHARED, | 181 | if (request_irq(SGI_II_ERROR, hub_eint_handler, IRQF_SHARED, |
182 | "SN_hub_error", (void *)hubdev_info)) | 182 | "SN_hub_error", (void *)hubdev_info)) |
183 | printk("hub_error_init: Failed to request_irq for 0x%p\n", | 183 | printk("hub_error_init: Failed to request_irq for 0x%p\n", |
184 | hubdev_info); | 184 | hubdev_info); |
diff --git a/arch/ia64/sn/pci/pcibr/pcibr_provider.c b/arch/ia64/sn/pci/pcibr/pcibr_provider.c index 838c93c9a16a..27dd7df0f446 100644 --- a/arch/ia64/sn/pci/pcibr/pcibr_provider.c +++ b/arch/ia64/sn/pci/pcibr/pcibr_provider.c | |||
@@ -95,7 +95,7 @@ u16 sn_ioboard_to_pci_bus(struct pci_bus *pci_bus) | |||
95 | * bridge sends an error interrupt. | 95 | * bridge sends an error interrupt. |
96 | */ | 96 | */ |
97 | static irqreturn_t | 97 | static irqreturn_t |
98 | pcibr_error_intr_handler(int irq, void *arg, struct pt_regs *regs) | 98 | pcibr_error_intr_handler(int irq, void *arg) |
99 | { | 99 | { |
100 | struct pcibus_info *soft = (struct pcibus_info *)arg; | 100 | struct pcibus_info *soft = (struct pcibus_info *)arg; |
101 | 101 | ||
@@ -138,7 +138,7 @@ pcibr_bus_fixup(struct pcibus_bussoft *prom_bussoft, struct pci_controller *cont | |||
138 | /* | 138 | /* |
139 | * register the bridge's error interrupt handler | 139 | * register the bridge's error interrupt handler |
140 | */ | 140 | */ |
141 | if (request_irq(SGI_PCIASIC_ERROR, (void *)pcibr_error_intr_handler, | 141 | if (request_irq(SGI_PCIASIC_ERROR, pcibr_error_intr_handler, |
142 | IRQF_SHARED, "PCIBR error", (void *)(soft))) { | 142 | IRQF_SHARED, "PCIBR error", (void *)(soft))) { |
143 | printk(KERN_WARNING | 143 | printk(KERN_WARNING |
144 | "pcibr cannot allocate interrupt for error handler\n"); | 144 | "pcibr cannot allocate interrupt for error handler\n"); |