diff options
Diffstat (limited to 'arch/ppc/syslib')
-rw-r--r-- | arch/ppc/syslib/cpc700.h | 2 | ||||
-rw-r--r-- | arch/ppc/syslib/cpc700_pic.c | 2 | ||||
-rw-r--r-- | arch/ppc/syslib/cpm2_pic.c | 2 | ||||
-rw-r--r-- | arch/ppc/syslib/cpm2_pic.h | 2 | ||||
-rw-r--r-- | arch/ppc/syslib/gt64260_pic.c | 9 | ||||
-rw-r--r-- | arch/ppc/syslib/ibm440gx_common.c | 2 | ||||
-rw-r--r-- | arch/ppc/syslib/ipic.c | 2 | ||||
-rw-r--r-- | arch/ppc/syslib/m82xx_pci.c | 4 | ||||
-rw-r--r-- | arch/ppc/syslib/m8xx_setup.c | 2 | ||||
-rw-r--r-- | arch/ppc/syslib/m8xx_wdt.c | 4 | ||||
-rw-r--r-- | arch/ppc/syslib/mpc52xx_pic.c | 2 | ||||
-rw-r--r-- | arch/ppc/syslib/mv64360_pic.c | 18 | ||||
-rw-r--r-- | arch/ppc/syslib/open_pic2.c | 2 | ||||
-rw-r--r-- | arch/ppc/syslib/ppc403_pic.c | 2 | ||||
-rw-r--r-- | arch/ppc/syslib/ppc4xx_pic.c | 8 | ||||
-rw-r--r-- | arch/ppc/syslib/ppc85xx_rio.c | 9 | ||||
-rw-r--r-- | arch/ppc/syslib/ppc8xx_pic.c | 4 | ||||
-rw-r--r-- | arch/ppc/syslib/xilinx_pic.c | 2 |
18 files changed, 34 insertions, 44 deletions
diff --git a/arch/ppc/syslib/cpc700.h b/arch/ppc/syslib/cpc700.h index 0a8a5d84390f..987e9aa0dd45 100644 --- a/arch/ppc/syslib/cpc700.h +++ b/arch/ppc/syslib/cpc700.h | |||
@@ -91,6 +91,6 @@ extern struct hw_interrupt_type cpc700_pic; | |||
91 | extern unsigned int cpc700_irq_assigns[32][2]; | 91 | extern unsigned int cpc700_irq_assigns[32][2]; |
92 | 92 | ||
93 | extern void __init cpc700_init_IRQ(void); | 93 | extern void __init cpc700_init_IRQ(void); |
94 | extern int cpc700_get_irq(struct pt_regs *); | 94 | extern int cpc700_get_irq(void); |
95 | 95 | ||
96 | #endif /* __PPC_SYSLIB_CPC700_H__ */ | 96 | #endif /* __PPC_SYSLIB_CPC700_H__ */ |
diff --git a/arch/ppc/syslib/cpc700_pic.c b/arch/ppc/syslib/cpc700_pic.c index 172aa215fdb0..d48e8f45c050 100644 --- a/arch/ppc/syslib/cpc700_pic.c +++ b/arch/ppc/syslib/cpc700_pic.c | |||
@@ -158,7 +158,7 @@ cpc700_init_IRQ(void) | |||
158 | * Find the highest IRQ that generating an interrupt, if any. | 158 | * Find the highest IRQ that generating an interrupt, if any. |
159 | */ | 159 | */ |
160 | int | 160 | int |
161 | cpc700_get_irq(struct pt_regs *regs) | 161 | cpc700_get_irq(void) |
162 | { | 162 | { |
163 | int irq = 0; | 163 | int irq = 0; |
164 | u_int irq_status, irq_test = 1; | 164 | u_int irq_status, irq_test = 1; |
diff --git a/arch/ppc/syslib/cpm2_pic.c b/arch/ppc/syslib/cpm2_pic.c index c0fee0beb815..fb2d5842641a 100644 --- a/arch/ppc/syslib/cpm2_pic.c +++ b/arch/ppc/syslib/cpm2_pic.c | |||
@@ -123,7 +123,7 @@ static struct hw_interrupt_type cpm2_pic = { | |||
123 | .end = cpm2_end_irq, | 123 | .end = cpm2_end_irq, |
124 | }; | 124 | }; |
125 | 125 | ||
126 | int cpm2_get_irq(struct pt_regs *regs) | 126 | int cpm2_get_irq(void) |
127 | { | 127 | { |
128 | int irq; | 128 | int irq; |
129 | unsigned long bits; | 129 | unsigned long bits; |
diff --git a/arch/ppc/syslib/cpm2_pic.h b/arch/ppc/syslib/cpm2_pic.h index 97cab8f13a1a..467339337a78 100644 --- a/arch/ppc/syslib/cpm2_pic.h +++ b/arch/ppc/syslib/cpm2_pic.h | |||
@@ -1,7 +1,7 @@ | |||
1 | #ifndef _PPC_KERNEL_CPM2_H | 1 | #ifndef _PPC_KERNEL_CPM2_H |
2 | #define _PPC_KERNEL_CPM2_H | 2 | #define _PPC_KERNEL_CPM2_H |
3 | 3 | ||
4 | extern int cpm2_get_irq(struct pt_regs *regs); | 4 | extern int cpm2_get_irq(void); |
5 | 5 | ||
6 | extern void cpm2_init_IRQ(void); | 6 | extern void cpm2_init_IRQ(void); |
7 | 7 | ||
diff --git a/arch/ppc/syslib/gt64260_pic.c b/arch/ppc/syslib/gt64260_pic.c index 7fd550a7d586..e84d432c0657 100644 --- a/arch/ppc/syslib/gt64260_pic.c +++ b/arch/ppc/syslib/gt64260_pic.c | |||
@@ -110,9 +110,6 @@ gt64260_init_irq(void) | |||
110 | * This function returns the lowest interrupt number of all interrupts that | 110 | * This function returns the lowest interrupt number of all interrupts that |
111 | * are currently asserted. | 111 | * are currently asserted. |
112 | * | 112 | * |
113 | * Input Variable(s): | ||
114 | * struct pt_regs* not used | ||
115 | * | ||
116 | * Output Variable(s): | 113 | * Output Variable(s): |
117 | * None. | 114 | * None. |
118 | * | 115 | * |
@@ -120,7 +117,7 @@ gt64260_init_irq(void) | |||
120 | * int <interrupt number> or -2 (bogus interrupt) | 117 | * int <interrupt number> or -2 (bogus interrupt) |
121 | */ | 118 | */ |
122 | int | 119 | int |
123 | gt64260_get_irq(struct pt_regs *regs) | 120 | gt64260_get_irq(void) |
124 | { | 121 | { |
125 | int irq; | 122 | int irq; |
126 | int irq_gpp; | 123 | int irq_gpp; |
@@ -229,7 +226,7 @@ gt64260_mask_irq(unsigned int irq) | |||
229 | } | 226 | } |
230 | 227 | ||
231 | static irqreturn_t | 228 | static irqreturn_t |
232 | gt64260_cpu_error_int_handler(int irq, void *dev_id, struct pt_regs *regs) | 229 | gt64260_cpu_error_int_handler(int irq, void *dev_id) |
233 | { | 230 | { |
234 | printk(KERN_ERR "gt64260_cpu_error_int_handler: %s 0x%08x\n", | 231 | printk(KERN_ERR "gt64260_cpu_error_int_handler: %s 0x%08x\n", |
235 | "Error on CPU interface - Cause regiser", | 232 | "Error on CPU interface - Cause regiser", |
@@ -250,7 +247,7 @@ gt64260_cpu_error_int_handler(int irq, void *dev_id, struct pt_regs *regs) | |||
250 | } | 247 | } |
251 | 248 | ||
252 | static irqreturn_t | 249 | static irqreturn_t |
253 | gt64260_pci_error_int_handler(int irq, void *dev_id, struct pt_regs *regs) | 250 | gt64260_pci_error_int_handler(int irq, void *dev_id) |
254 | { | 251 | { |
255 | u32 val; | 252 | u32 val; |
256 | unsigned int pci_bus = (unsigned int)dev_id; | 253 | unsigned int pci_bus = (unsigned int)dev_id; |
diff --git a/arch/ppc/syslib/ibm440gx_common.c b/arch/ppc/syslib/ibm440gx_common.c index 4b77e6c8c87f..6ad52f4a26e1 100644 --- a/arch/ppc/syslib/ibm440gx_common.c +++ b/arch/ppc/syslib/ibm440gx_common.c | |||
@@ -119,7 +119,7 @@ static inline u32 l2c_diag(u32 addr) | |||
119 | return mfdcr(DCRN_L2C0_DATA); | 119 | return mfdcr(DCRN_L2C0_DATA); |
120 | } | 120 | } |
121 | 121 | ||
122 | static irqreturn_t l2c_error_handler(int irq, void* dev, struct pt_regs* regs) | 122 | static irqreturn_t l2c_error_handler(int irq, void* dev) |
123 | { | 123 | { |
124 | u32 sr = mfdcr(DCRN_L2C0_SR); | 124 | u32 sr = mfdcr(DCRN_L2C0_SR); |
125 | if (sr & L2C_SR_CPE){ | 125 | if (sr & L2C_SR_CPE){ |
diff --git a/arch/ppc/syslib/ipic.c b/arch/ppc/syslib/ipic.c index 46801f5ec03f..10659c24b1be 100644 --- a/arch/ppc/syslib/ipic.c +++ b/arch/ppc/syslib/ipic.c | |||
@@ -601,7 +601,7 @@ void ipic_clear_mcp_status(u32 mask) | |||
601 | } | 601 | } |
602 | 602 | ||
603 | /* Return an interrupt vector or -1 if no interrupt is pending. */ | 603 | /* Return an interrupt vector or -1 if no interrupt is pending. */ |
604 | int ipic_get_irq(struct pt_regs *regs) | 604 | int ipic_get_irq(void) |
605 | { | 605 | { |
606 | int irq; | 606 | int irq; |
607 | 607 | ||
diff --git a/arch/ppc/syslib/m82xx_pci.c b/arch/ppc/syslib/m82xx_pci.c index d3fa264e179e..e3b586b1ede9 100644 --- a/arch/ppc/syslib/m82xx_pci.c +++ b/arch/ppc/syslib/m82xx_pci.c | |||
@@ -117,7 +117,7 @@ struct hw_interrupt_type pq2pci_ic = { | |||
117 | }; | 117 | }; |
118 | 118 | ||
119 | static irqreturn_t | 119 | static irqreturn_t |
120 | pq2pci_irq_demux(int irq, void *dev_id, struct pt_regs *regs) | 120 | pq2pci_irq_demux(int irq, void *dev_id) |
121 | { | 121 | { |
122 | unsigned long stat, mask, pend; | 122 | unsigned long stat, mask, pend; |
123 | int bit; | 123 | int bit; |
@@ -130,7 +130,7 @@ pq2pci_irq_demux(int irq, void *dev_id, struct pt_regs *regs) | |||
130 | break; | 130 | break; |
131 | for (bit = 0; pend != 0; ++bit, pend <<= 1) { | 131 | for (bit = 0; pend != 0; ++bit, pend <<= 1) { |
132 | if (pend & 0x80000000) | 132 | if (pend & 0x80000000) |
133 | __do_IRQ(NR_CPM_INTS + bit, regs); | 133 | __do_IRQ(NR_CPM_INTS + bit); |
134 | } | 134 | } |
135 | } | 135 | } |
136 | 136 | ||
diff --git a/arch/ppc/syslib/m8xx_setup.c b/arch/ppc/syslib/m8xx_setup.c index 54303a7b4e69..d8d299bd1a12 100644 --- a/arch/ppc/syslib/m8xx_setup.c +++ b/arch/ppc/syslib/m8xx_setup.c | |||
@@ -169,7 +169,7 @@ abort(void) | |||
169 | } | 169 | } |
170 | 170 | ||
171 | /* A place holder for time base interrupts, if they are ever enabled. */ | 171 | /* A place holder for time base interrupts, if they are ever enabled. */ |
172 | irqreturn_t timebase_interrupt(int irq, void * dev, struct pt_regs * regs) | 172 | irqreturn_t timebase_interrupt(int irq, void * dev) |
173 | { | 173 | { |
174 | printk ("timebase_interrupt()\n"); | 174 | printk ("timebase_interrupt()\n"); |
175 | 175 | ||
diff --git a/arch/ppc/syslib/m8xx_wdt.c b/arch/ppc/syslib/m8xx_wdt.c index ac11d7bab443..fffac8cbeb51 100644 --- a/arch/ppc/syslib/m8xx_wdt.c +++ b/arch/ppc/syslib/m8xx_wdt.c | |||
@@ -21,7 +21,7 @@ | |||
21 | static int wdt_timeout; | 21 | static int wdt_timeout; |
22 | int m8xx_has_internal_rtc = 0; | 22 | int m8xx_has_internal_rtc = 0; |
23 | 23 | ||
24 | static irqreturn_t m8xx_wdt_interrupt(int, void *, struct pt_regs *); | 24 | static irqreturn_t m8xx_wdt_interrupt(int, void *); |
25 | static struct irqaction m8xx_wdt_irqaction = { | 25 | static struct irqaction m8xx_wdt_irqaction = { |
26 | .handler = m8xx_wdt_interrupt, | 26 | .handler = m8xx_wdt_interrupt, |
27 | .name = "watchdog", | 27 | .name = "watchdog", |
@@ -35,7 +35,7 @@ void m8xx_wdt_reset(void) | |||
35 | out_be16(&imap->im_siu_conf.sc_swsr, 0xaa39); /* write magic2 */ | 35 | out_be16(&imap->im_siu_conf.sc_swsr, 0xaa39); /* write magic2 */ |
36 | } | 36 | } |
37 | 37 | ||
38 | static irqreturn_t m8xx_wdt_interrupt(int irq, void *dev, struct pt_regs *regs) | 38 | static irqreturn_t m8xx_wdt_interrupt(int irq, void *dev) |
39 | { | 39 | { |
40 | volatile immap_t *imap = (volatile immap_t *)IMAP_ADDR; | 40 | volatile immap_t *imap = (volatile immap_t *)IMAP_ADDR; |
41 | 41 | ||
diff --git a/arch/ppc/syslib/mpc52xx_pic.c b/arch/ppc/syslib/mpc52xx_pic.c index 6425b5cee7db..af35a316544a 100644 --- a/arch/ppc/syslib/mpc52xx_pic.c +++ b/arch/ppc/syslib/mpc52xx_pic.c | |||
@@ -220,7 +220,7 @@ mpc52xx_init_irq(void) | |||
220 | } | 220 | } |
221 | 221 | ||
222 | int | 222 | int |
223 | mpc52xx_get_irq(struct pt_regs *regs) | 223 | mpc52xx_get_irq(void) |
224 | { | 224 | { |
225 | u32 status; | 225 | u32 status; |
226 | int irq = -1; | 226 | int irq = -1; |
diff --git a/arch/ppc/syslib/mv64360_pic.c b/arch/ppc/syslib/mv64360_pic.c index 5104386601ed..4b7a3338e122 100644 --- a/arch/ppc/syslib/mv64360_pic.c +++ b/arch/ppc/syslib/mv64360_pic.c | |||
@@ -55,10 +55,9 @@ | |||
55 | 55 | ||
56 | static void mv64360_unmask_irq(unsigned int); | 56 | static void mv64360_unmask_irq(unsigned int); |
57 | static void mv64360_mask_irq(unsigned int); | 57 | static void mv64360_mask_irq(unsigned int); |
58 | static irqreturn_t mv64360_cpu_error_int_handler(int, void *, struct pt_regs *); | 58 | static irqreturn_t mv64360_cpu_error_int_handler(int, void *); |
59 | static irqreturn_t mv64360_sram_error_int_handler(int, void *, | 59 | static irqreturn_t mv64360_sram_error_int_handler(int, void *); |
60 | struct pt_regs *); | 60 | static irqreturn_t mv64360_pci_error_int_handler(int, void *); |
61 | static irqreturn_t mv64360_pci_error_int_handler(int, void *, struct pt_regs *); | ||
62 | 61 | ||
63 | /* ========================== local declarations =========================== */ | 62 | /* ========================== local declarations =========================== */ |
64 | 63 | ||
@@ -131,9 +130,6 @@ mv64360_init_irq(void) | |||
131 | * This function returns the lowest interrupt number of all interrupts that | 130 | * This function returns the lowest interrupt number of all interrupts that |
132 | * are currently asserted. | 131 | * are currently asserted. |
133 | * | 132 | * |
134 | * Input Variable(s): | ||
135 | * struct pt_regs* not used | ||
136 | * | ||
137 | * Output Variable(s): | 133 | * Output Variable(s): |
138 | * None. | 134 | * None. |
139 | * | 135 | * |
@@ -142,7 +138,7 @@ mv64360_init_irq(void) | |||
142 | * | 138 | * |
143 | */ | 139 | */ |
144 | int | 140 | int |
145 | mv64360_get_irq(struct pt_regs *regs) | 141 | mv64360_get_irq(void) |
146 | { | 142 | { |
147 | int irq; | 143 | int irq; |
148 | int irq_gpp; | 144 | int irq_gpp; |
@@ -283,7 +279,7 @@ mv64360_mask_irq(unsigned int irq) | |||
283 | } | 279 | } |
284 | 280 | ||
285 | static irqreturn_t | 281 | static irqreturn_t |
286 | mv64360_cpu_error_int_handler(int irq, void *dev_id, struct pt_regs *regs) | 282 | mv64360_cpu_error_int_handler(int irq, void *dev_id) |
287 | { | 283 | { |
288 | printk(KERN_ERR "mv64360_cpu_error_int_handler: %s 0x%08x\n", | 284 | printk(KERN_ERR "mv64360_cpu_error_int_handler: %s 0x%08x\n", |
289 | "Error on CPU interface - Cause regiser", | 285 | "Error on CPU interface - Cause regiser", |
@@ -304,7 +300,7 @@ mv64360_cpu_error_int_handler(int irq, void *dev_id, struct pt_regs *regs) | |||
304 | } | 300 | } |
305 | 301 | ||
306 | static irqreturn_t | 302 | static irqreturn_t |
307 | mv64360_sram_error_int_handler(int irq, void *dev_id, struct pt_regs *regs) | 303 | mv64360_sram_error_int_handler(int irq, void *dev_id) |
308 | { | 304 | { |
309 | printk(KERN_ERR "mv64360_sram_error_int_handler: %s 0x%08x\n", | 305 | printk(KERN_ERR "mv64360_sram_error_int_handler: %s 0x%08x\n", |
310 | "Error in internal SRAM - Cause register", | 306 | "Error in internal SRAM - Cause register", |
@@ -325,7 +321,7 @@ mv64360_sram_error_int_handler(int irq, void *dev_id, struct pt_regs *regs) | |||
325 | } | 321 | } |
326 | 322 | ||
327 | static irqreturn_t | 323 | static irqreturn_t |
328 | mv64360_pci_error_int_handler(int irq, void *dev_id, struct pt_regs *regs) | 324 | mv64360_pci_error_int_handler(int irq, void *dev_id) |
329 | { | 325 | { |
330 | u32 val; | 326 | u32 val; |
331 | unsigned int pci_bus = (unsigned int)dev_id; | 327 | unsigned int pci_bus = (unsigned int)dev_id; |
diff --git a/arch/ppc/syslib/open_pic2.c b/arch/ppc/syslib/open_pic2.c index e1ff971539ea..d585207f9f77 100644 --- a/arch/ppc/syslib/open_pic2.c +++ b/arch/ppc/syslib/open_pic2.c | |||
@@ -529,7 +529,7 @@ static void openpic2_end_irq(unsigned int irq_nr) | |||
529 | } | 529 | } |
530 | 530 | ||
531 | int | 531 | int |
532 | openpic2_get_irq(struct pt_regs *regs) | 532 | openpic2_get_irq(void) |
533 | { | 533 | { |
534 | int irq = openpic2_irq(); | 534 | int irq = openpic2_irq(); |
535 | 535 | ||
diff --git a/arch/ppc/syslib/ppc403_pic.c b/arch/ppc/syslib/ppc403_pic.c index 1584c8b1229f..607ebd111d44 100644 --- a/arch/ppc/syslib/ppc403_pic.c +++ b/arch/ppc/syslib/ppc403_pic.c | |||
@@ -42,7 +42,7 @@ static struct hw_interrupt_type ppc403_aic = { | |||
42 | }; | 42 | }; |
43 | 43 | ||
44 | int | 44 | int |
45 | ppc403_pic_get_irq(struct pt_regs *regs) | 45 | ppc403_pic_get_irq(void) |
46 | { | 46 | { |
47 | int irq; | 47 | int irq; |
48 | unsigned long bits; | 48 | unsigned long bits; |
diff --git a/arch/ppc/syslib/ppc4xx_pic.c b/arch/ppc/syslib/ppc4xx_pic.c index 745685df5984..ee0da4b4b993 100644 --- a/arch/ppc/syslib/ppc4xx_pic.c +++ b/arch/ppc/syslib/ppc4xx_pic.c | |||
@@ -96,7 +96,7 @@ UIC_HANDLERS(1); | |||
96 | UIC_HANDLERS(2); | 96 | UIC_HANDLERS(2); |
97 | UIC_HANDLERS(3); | 97 | UIC_HANDLERS(3); |
98 | 98 | ||
99 | static int ppc4xx_pic_get_irq(struct pt_regs *regs) | 99 | static int ppc4xx_pic_get_irq(void) |
100 | { | 100 | { |
101 | u32 uic0 = mfdcr(DCRN_UIC_MSR(UIC0)); | 101 | u32 uic0 = mfdcr(DCRN_UIC_MSR(UIC0)); |
102 | if (uic0 & UIC0_UIC1NC) | 102 | if (uic0 & UIC0_UIC1NC) |
@@ -125,7 +125,7 @@ UIC_HANDLERS(0); | |||
125 | UIC_HANDLERS(1); | 125 | UIC_HANDLERS(1); |
126 | UIC_HANDLERS(2); | 126 | UIC_HANDLERS(2); |
127 | 127 | ||
128 | static int ppc4xx_pic_get_irq(struct pt_regs *regs) | 128 | static int ppc4xx_pic_get_irq(void) |
129 | { | 129 | { |
130 | u32 uicb = mfdcr(DCRN_UIC_MSR(UICB)); | 130 | u32 uicb = mfdcr(DCRN_UIC_MSR(UICB)); |
131 | if (uicb & UICB_UIC0NC) | 131 | if (uicb & UICB_UIC0NC) |
@@ -158,7 +158,7 @@ static void __init ppc4xx_pic_impl_init(void) | |||
158 | UIC_HANDLERS(0); | 158 | UIC_HANDLERS(0); |
159 | UIC_HANDLERS(1); | 159 | UIC_HANDLERS(1); |
160 | 160 | ||
161 | static int ppc4xx_pic_get_irq(struct pt_regs *regs) | 161 | static int ppc4xx_pic_get_irq(void) |
162 | { | 162 | { |
163 | u32 uic0 = mfdcr(DCRN_UIC_MSR(UIC0)); | 163 | u32 uic0 = mfdcr(DCRN_UIC_MSR(UIC0)); |
164 | if (uic0 & UIC0_UIC1NC) | 164 | if (uic0 & UIC0_UIC1NC) |
@@ -179,7 +179,7 @@ static void __init ppc4xx_pic_impl_init(void) | |||
179 | #define ACK_UIC0_PARENT | 179 | #define ACK_UIC0_PARENT |
180 | UIC_HANDLERS(0); | 180 | UIC_HANDLERS(0); |
181 | 181 | ||
182 | static int ppc4xx_pic_get_irq(struct pt_regs *regs) | 182 | static int ppc4xx_pic_get_irq(void) |
183 | { | 183 | { |
184 | u32 uic0 = mfdcr(DCRN_UIC_MSR(UIC0)); | 184 | u32 uic0 = mfdcr(DCRN_UIC_MSR(UIC0)); |
185 | return uic0 ? 32 - ffs(uic0) : -1; | 185 | return uic0 ? 32 - ffs(uic0) : -1; |
diff --git a/arch/ppc/syslib/ppc85xx_rio.c b/arch/ppc/syslib/ppc85xx_rio.c index d9b471b4d695..05b0e9415085 100644 --- a/arch/ppc/syslib/ppc85xx_rio.c +++ b/arch/ppc/syslib/ppc85xx_rio.c | |||
@@ -349,13 +349,12 @@ EXPORT_SYMBOL_GPL(rio_hw_add_outb_message); | |||
349 | * mpc85xx_rio_tx_handler - MPC85xx outbound message interrupt handler | 349 | * mpc85xx_rio_tx_handler - MPC85xx outbound message interrupt handler |
350 | * @irq: Linux interrupt number | 350 | * @irq: Linux interrupt number |
351 | * @dev_instance: Pointer to interrupt-specific data | 351 | * @dev_instance: Pointer to interrupt-specific data |
352 | * @regs: Register context | ||
353 | * | 352 | * |
354 | * Handles outbound message interrupts. Executes a register outbound | 353 | * Handles outbound message interrupts. Executes a register outbound |
355 | * mailbox event handler and acks the interrupt occurence. | 354 | * mailbox event handler and acks the interrupt occurence. |
356 | */ | 355 | */ |
357 | static irqreturn_t | 356 | static irqreturn_t |
358 | mpc85xx_rio_tx_handler(int irq, void *dev_instance, struct pt_regs *regs) | 357 | mpc85xx_rio_tx_handler(int irq, void *dev_instance) |
359 | { | 358 | { |
360 | int osr; | 359 | int osr; |
361 | struct rio_mport *port = (struct rio_mport *)dev_instance; | 360 | struct rio_mport *port = (struct rio_mport *)dev_instance; |
@@ -517,13 +516,12 @@ void rio_close_outb_mbox(struct rio_mport *mport, int mbox) | |||
517 | * mpc85xx_rio_rx_handler - MPC85xx inbound message interrupt handler | 516 | * mpc85xx_rio_rx_handler - MPC85xx inbound message interrupt handler |
518 | * @irq: Linux interrupt number | 517 | * @irq: Linux interrupt number |
519 | * @dev_instance: Pointer to interrupt-specific data | 518 | * @dev_instance: Pointer to interrupt-specific data |
520 | * @regs: Register context | ||
521 | * | 519 | * |
522 | * Handles inbound message interrupts. Executes a registered inbound | 520 | * Handles inbound message interrupts. Executes a registered inbound |
523 | * mailbox event handler and acks the interrupt occurence. | 521 | * mailbox event handler and acks the interrupt occurence. |
524 | */ | 522 | */ |
525 | static irqreturn_t | 523 | static irqreturn_t |
526 | mpc85xx_rio_rx_handler(int irq, void *dev_instance, struct pt_regs *regs) | 524 | mpc85xx_rio_rx_handler(int irq, void *dev_instance) |
527 | { | 525 | { |
528 | int isr; | 526 | int isr; |
529 | struct rio_mport *port = (struct rio_mport *)dev_instance; | 527 | struct rio_mport *port = (struct rio_mport *)dev_instance; |
@@ -736,13 +734,12 @@ EXPORT_SYMBOL_GPL(rio_hw_get_inb_message); | |||
736 | * mpc85xx_rio_dbell_handler - MPC85xx doorbell interrupt handler | 734 | * mpc85xx_rio_dbell_handler - MPC85xx doorbell interrupt handler |
737 | * @irq: Linux interrupt number | 735 | * @irq: Linux interrupt number |
738 | * @dev_instance: Pointer to interrupt-specific data | 736 | * @dev_instance: Pointer to interrupt-specific data |
739 | * @regs: Register context | ||
740 | * | 737 | * |
741 | * Handles doorbell interrupts. Parses a list of registered | 738 | * Handles doorbell interrupts. Parses a list of registered |
742 | * doorbell event handlers and executes a matching event handler. | 739 | * doorbell event handlers and executes a matching event handler. |
743 | */ | 740 | */ |
744 | static irqreturn_t | 741 | static irqreturn_t |
745 | mpc85xx_rio_dbell_handler(int irq, void *dev_instance, struct pt_regs *regs) | 742 | mpc85xx_rio_dbell_handler(int irq, void *dev_instance) |
746 | { | 743 | { |
747 | int dsr; | 744 | int dsr; |
748 | struct rio_mport *port = (struct rio_mport *)dev_instance; | 745 | struct rio_mport *port = (struct rio_mport *)dev_instance; |
diff --git a/arch/ppc/syslib/ppc8xx_pic.c b/arch/ppc/syslib/ppc8xx_pic.c index d6c25fe25011..e8619c750732 100644 --- a/arch/ppc/syslib/ppc8xx_pic.c +++ b/arch/ppc/syslib/ppc8xx_pic.c | |||
@@ -10,7 +10,7 @@ | |||
10 | #include <asm/mpc8xx.h> | 10 | #include <asm/mpc8xx.h> |
11 | #include "ppc8xx_pic.h" | 11 | #include "ppc8xx_pic.h" |
12 | 12 | ||
13 | extern int cpm_get_irq(struct pt_regs *regs); | 13 | extern int cpm_get_irq(void); |
14 | 14 | ||
15 | /* The 8xx internal interrupt controller. It is usually | 15 | /* The 8xx internal interrupt controller. It is usually |
16 | * the only interrupt controller. Some boards, like the MBX and | 16 | * the only interrupt controller. Some boards, like the MBX and |
@@ -96,7 +96,7 @@ m8xx_get_irq(struct pt_regs *regs) | |||
96 | * get back SIU_LEVEL7. In this case, return -1 | 96 | * get back SIU_LEVEL7. In this case, return -1 |
97 | */ | 97 | */ |
98 | if (irq == CPM_INTERRUPT) | 98 | if (irq == CPM_INTERRUPT) |
99 | irq = CPM_IRQ_OFFSET + cpm_get_irq(regs); | 99 | irq = CPM_IRQ_OFFSET + cpm_get_irq(); |
100 | #if defined(CONFIG_PCI) | 100 | #if defined(CONFIG_PCI) |
101 | else if (irq == ISA_BRIDGE_INT) { | 101 | else if (irq == ISA_BRIDGE_INT) { |
102 | int isa_irq; | 102 | int isa_irq; |
diff --git a/arch/ppc/syslib/xilinx_pic.c b/arch/ppc/syslib/xilinx_pic.c index 39a93dc6375b..6fd4cdbada72 100644 --- a/arch/ppc/syslib/xilinx_pic.c +++ b/arch/ppc/syslib/xilinx_pic.c | |||
@@ -86,7 +86,7 @@ static struct hw_interrupt_type xilinx_intc = { | |||
86 | }; | 86 | }; |
87 | 87 | ||
88 | int | 88 | int |
89 | xilinx_pic_get_irq(struct pt_regs *regs) | 89 | xilinx_pic_get_irq(void) |
90 | { | 90 | { |
91 | int irq; | 91 | int irq; |
92 | 92 | ||