diff options
| author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-06 13:53:39 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-06 13:59:54 -0400 |
| commit | 0cd61b68c340a4f901a06e8bb5e0dea4353161c0 (patch) | |
| tree | cfd72be941ecd172627a06dd61d98b55cec63a39 /arch/arm/mach-footbridge | |
| parent | da104a83692cf07434ab3b20bf10093bdbc3f97e (diff) | |
Initial blind fixup for arm for irq changes
Untested, but this should fix up the bulk of the totally mechanical
issues, and should make the actual detail fixing easier.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/arm/mach-footbridge')
| -rw-r--r-- | arch/arm/mach-footbridge/dc21285-timer.c | 4 | ||||
| -rw-r--r-- | arch/arm/mach-footbridge/dc21285.c | 12 | ||||
| -rw-r--r-- | arch/arm/mach-footbridge/isa-irq.c | 6 | ||||
| -rw-r--r-- | arch/arm/mach-footbridge/isa-timer.c | 4 |
4 files changed, 13 insertions, 13 deletions
diff --git a/arch/arm/mach-footbridge/dc21285-timer.c b/arch/arm/mach-footbridge/dc21285-timer.c index 2af610811ca4..fa6be870c6c2 100644 --- a/arch/arm/mach-footbridge/dc21285-timer.c +++ b/arch/arm/mach-footbridge/dc21285-timer.c | |||
| @@ -28,13 +28,13 @@ static unsigned long timer1_gettimeoffset (void) | |||
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | static irqreturn_t | 30 | static irqreturn_t |
| 31 | timer1_interrupt(int irq, void *dev_id, struct pt_regs *regs) | 31 | timer1_interrupt(int irq, void *dev_id) |
| 32 | { | 32 | { |
| 33 | write_seqlock(&xtime_lock); | 33 | write_seqlock(&xtime_lock); |
| 34 | 34 | ||
| 35 | *CSR_TIMER1_CLR = 0; | 35 | *CSR_TIMER1_CLR = 0; |
| 36 | 36 | ||
| 37 | timer_tick(regs); | 37 | timer_tick(); |
| 38 | 38 | ||
| 39 | write_sequnlock(&xtime_lock); | 39 | write_sequnlock(&xtime_lock); |
| 40 | 40 | ||
diff --git a/arch/arm/mach-footbridge/dc21285.c b/arch/arm/mach-footbridge/dc21285.c index a1ae49df5c3b..fa5d4976f514 100644 --- a/arch/arm/mach-footbridge/dc21285.c +++ b/arch/arm/mach-footbridge/dc21285.c | |||
| @@ -154,7 +154,7 @@ static void dc21285_enable_error(unsigned long __data) | |||
| 154 | /* | 154 | /* |
| 155 | * Warn on PCI errors. | 155 | * Warn on PCI errors. |
| 156 | */ | 156 | */ |
| 157 | static irqreturn_t dc21285_abort_irq(int irq, void *dev_id, struct pt_regs *regs) | 157 | static irqreturn_t dc21285_abort_irq(int irq, void *dev_id) |
| 158 | { | 158 | { |
| 159 | unsigned int cmd; | 159 | unsigned int cmd; |
| 160 | unsigned int status; | 160 | unsigned int status; |
| @@ -165,7 +165,7 @@ static irqreturn_t dc21285_abort_irq(int irq, void *dev_id, struct pt_regs *regs | |||
| 165 | 165 | ||
| 166 | if (status & PCI_STATUS_REC_MASTER_ABORT) { | 166 | if (status & PCI_STATUS_REC_MASTER_ABORT) { |
| 167 | printk(KERN_DEBUG "PCI: master abort, pc=0x%08lx\n", | 167 | printk(KERN_DEBUG "PCI: master abort, pc=0x%08lx\n", |
| 168 | instruction_pointer(regs)); | 168 | instruction_pointer(get_irq_regs())); |
| 169 | cmd |= PCI_STATUS_REC_MASTER_ABORT << 16; | 169 | cmd |= PCI_STATUS_REC_MASTER_ABORT << 16; |
| 170 | } | 170 | } |
| 171 | 171 | ||
| @@ -184,7 +184,7 @@ static irqreturn_t dc21285_abort_irq(int irq, void *dev_id, struct pt_regs *regs | |||
| 184 | return IRQ_HANDLED; | 184 | return IRQ_HANDLED; |
| 185 | } | 185 | } |
| 186 | 186 | ||
| 187 | static irqreturn_t dc21285_serr_irq(int irq, void *dev_id, struct pt_regs *regs) | 187 | static irqreturn_t dc21285_serr_irq(int irq, void *dev_id) |
| 188 | { | 188 | { |
| 189 | struct timer_list *timer = dev_id; | 189 | struct timer_list *timer = dev_id; |
| 190 | unsigned int cntl; | 190 | unsigned int cntl; |
| @@ -206,7 +206,7 @@ static irqreturn_t dc21285_serr_irq(int irq, void *dev_id, struct pt_regs *regs) | |||
| 206 | return IRQ_HANDLED; | 206 | return IRQ_HANDLED; |
| 207 | } | 207 | } |
| 208 | 208 | ||
| 209 | static irqreturn_t dc21285_discard_irq(int irq, void *dev_id, struct pt_regs *regs) | 209 | static irqreturn_t dc21285_discard_irq(int irq, void *dev_id) |
| 210 | { | 210 | { |
| 211 | printk(KERN_DEBUG "PCI: discard timer expired\n"); | 211 | printk(KERN_DEBUG "PCI: discard timer expired\n"); |
| 212 | *CSR_SA110_CNTL &= 0xffffde07; | 212 | *CSR_SA110_CNTL &= 0xffffde07; |
| @@ -214,7 +214,7 @@ static irqreturn_t dc21285_discard_irq(int irq, void *dev_id, struct pt_regs *re | |||
| 214 | return IRQ_HANDLED; | 214 | return IRQ_HANDLED; |
| 215 | } | 215 | } |
| 216 | 216 | ||
| 217 | static irqreturn_t dc21285_dparity_irq(int irq, void *dev_id, struct pt_regs *regs) | 217 | static irqreturn_t dc21285_dparity_irq(int irq, void *dev_id) |
| 218 | { | 218 | { |
| 219 | unsigned int cmd; | 219 | unsigned int cmd; |
| 220 | 220 | ||
| @@ -228,7 +228,7 @@ static irqreturn_t dc21285_dparity_irq(int irq, void *dev_id, struct pt_regs *re | |||
| 228 | return IRQ_HANDLED; | 228 | return IRQ_HANDLED; |
| 229 | } | 229 | } |
| 230 | 230 | ||
| 231 | static irqreturn_t dc21285_parity_irq(int irq, void *dev_id, struct pt_regs *regs) | 231 | static irqreturn_t dc21285_parity_irq(int irq, void *dev_id) |
| 232 | { | 232 | { |
| 233 | struct timer_list *timer = dev_id; | 233 | struct timer_list *timer = dev_id; |
| 234 | unsigned int cmd; | 234 | unsigned int cmd; |
diff --git a/arch/arm/mach-footbridge/isa-irq.c b/arch/arm/mach-footbridge/isa-irq.c index 87448c2d6baa..888dedd501b9 100644 --- a/arch/arm/mach-footbridge/isa-irq.c +++ b/arch/arm/mach-footbridge/isa-irq.c | |||
| @@ -85,17 +85,17 @@ static struct irqchip isa_hi_chip = { | |||
| 85 | }; | 85 | }; |
| 86 | 86 | ||
| 87 | static void | 87 | static void |
| 88 | isa_irq_handler(unsigned int irq, struct irqdesc *desc, struct pt_regs *regs) | 88 | isa_irq_handler(unsigned int irq, struct irqdesc *desc) |
| 89 | { | 89 | { |
| 90 | unsigned int isa_irq = *(unsigned char *)PCIIACK_BASE; | 90 | unsigned int isa_irq = *(unsigned char *)PCIIACK_BASE; |
| 91 | 91 | ||
| 92 | if (isa_irq < _ISA_IRQ(0) || isa_irq >= _ISA_IRQ(16)) { | 92 | if (isa_irq < _ISA_IRQ(0) || isa_irq >= _ISA_IRQ(16)) { |
| 93 | do_bad_IRQ(isa_irq, desc, regs); | 93 | do_bad_IRQ(isa_irq, desc); |
| 94 | return; | 94 | return; |
| 95 | } | 95 | } |
| 96 | 96 | ||
| 97 | desc = irq_desc + isa_irq; | 97 | desc = irq_desc + isa_irq; |
| 98 | desc_handle_irq(isa_irq, desc, regs); | 98 | desc_handle_irq(isa_irq, desc); |
| 99 | } | 99 | } |
| 100 | 100 | ||
| 101 | static struct irqaction irq_cascade = { | 101 | static struct irqaction irq_cascade = { |
diff --git a/arch/arm/mach-footbridge/isa-timer.c b/arch/arm/mach-footbridge/isa-timer.c index c4810a40c8e1..d884a3954fb4 100644 --- a/arch/arm/mach-footbridge/isa-timer.c +++ b/arch/arm/mach-footbridge/isa-timer.c | |||
| @@ -62,10 +62,10 @@ static unsigned long isa_gettimeoffset(void) | |||
| 62 | } | 62 | } |
| 63 | 63 | ||
| 64 | static irqreturn_t | 64 | static irqreturn_t |
| 65 | isa_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) | 65 | isa_timer_interrupt(int irq, void *dev_id) |
| 66 | { | 66 | { |
| 67 | write_seqlock(&xtime_lock); | 67 | write_seqlock(&xtime_lock); |
| 68 | timer_tick(regs); | 68 | timer_tick(); |
| 69 | write_sequnlock(&xtime_lock); | 69 | write_sequnlock(&xtime_lock); |
| 70 | return IRQ_HANDLED; | 70 | return IRQ_HANDLED; |
| 71 | } | 71 | } |
