diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-10-09 07:48:42 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-10-09 21:55:25 -0400 |
commit | 39e3eb7265b8698e5f607a317af13c9478274736 (patch) | |
tree | 927b34392c7d74b38d52749c2311f6dfe7285851 /arch/ppc/syslib/gt64260_pic.c | |
parent | 8de242e60a441f177dd51b323894b17d3d63e9f2 (diff) |
[POWERPC] ARCH=ppc pt_regs fixes
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc/syslib/gt64260_pic.c')
-rw-r--r-- | arch/ppc/syslib/gt64260_pic.c | 9 |
1 files changed, 3 insertions, 6 deletions
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; |