diff options
Diffstat (limited to 'arch/arm/mach-integrator')
-rw-r--r-- | arch/arm/mach-integrator/core.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-integrator/integrator_cp.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-integrator/pci_v3.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-integrator/time.c | 3 |
4 files changed, 9 insertions, 9 deletions
diff --git a/arch/arm/mach-integrator/core.c b/arch/arm/mach-integrator/core.c index 42021fdfa0c6..8d880cb9ba39 100644 --- a/arch/arm/mach-integrator/core.c +++ b/arch/arm/mach-integrator/core.c | |||
@@ -248,7 +248,7 @@ unsigned long integrator_gettimeoffset(void) | |||
248 | * IRQ handler for the timer | 248 | * IRQ handler for the timer |
249 | */ | 249 | */ |
250 | static irqreturn_t | 250 | static irqreturn_t |
251 | integrator_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) | 251 | integrator_timer_interrupt(int irq, void *dev_id) |
252 | { | 252 | { |
253 | write_seqlock(&xtime_lock); | 253 | write_seqlock(&xtime_lock); |
254 | 254 | ||
@@ -262,7 +262,7 @@ integrator_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) | |||
262 | * primary CPU | 262 | * primary CPU |
263 | */ | 263 | */ |
264 | if (hard_smp_processor_id() == 0) { | 264 | if (hard_smp_processor_id() == 0) { |
265 | timer_tick(regs); | 265 | timer_tick(); |
266 | #ifdef CONFIG_SMP | 266 | #ifdef CONFIG_SMP |
267 | smp_send_timer(); | 267 | smp_send_timer(); |
268 | #endif | 268 | #endif |
@@ -272,7 +272,7 @@ integrator_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) | |||
272 | /* | 272 | /* |
273 | * this is the ARM equivalent of the APIC timer interrupt | 273 | * this is the ARM equivalent of the APIC timer interrupt |
274 | */ | 274 | */ |
275 | update_process_times(user_mode(regs)); | 275 | update_process_times(user_mode(get_irq_regs())); |
276 | #endif /* CONFIG_SMP */ | 276 | #endif /* CONFIG_SMP */ |
277 | 277 | ||
278 | write_sequnlock(&xtime_lock); | 278 | write_sequnlock(&xtime_lock); |
diff --git a/arch/arm/mach-integrator/integrator_cp.c b/arch/arm/mach-integrator/integrator_cp.c index 678b6ba2b463..771b65bffe69 100644 --- a/arch/arm/mach-integrator/integrator_cp.c +++ b/arch/arm/mach-integrator/integrator_cp.c | |||
@@ -202,12 +202,12 @@ static struct irq_chip sic_chip = { | |||
202 | }; | 202 | }; |
203 | 203 | ||
204 | static void | 204 | static void |
205 | sic_handle_irq(unsigned int irq, struct irqdesc *desc, struct pt_regs *regs) | 205 | sic_handle_irq(unsigned int irq, struct irqdesc *desc) |
206 | { | 206 | { |
207 | unsigned long status = sic_readl(INTCP_VA_SIC_BASE + IRQ_STATUS); | 207 | unsigned long status = sic_readl(INTCP_VA_SIC_BASE + IRQ_STATUS); |
208 | 208 | ||
209 | if (status == 0) { | 209 | if (status == 0) { |
210 | do_bad_IRQ(irq, desc, regs); | 210 | do_bad_IRQ(irq, desc); |
211 | return; | 211 | return; |
212 | } | 212 | } |
213 | 213 | ||
@@ -218,7 +218,7 @@ sic_handle_irq(unsigned int irq, struct irqdesc *desc, struct pt_regs *regs) | |||
218 | irq += IRQ_SIC_START; | 218 | irq += IRQ_SIC_START; |
219 | 219 | ||
220 | desc = irq_desc + irq; | 220 | desc = irq_desc + irq; |
221 | desc_handle_irq(irq, desc, regs); | 221 | desc_handle_irq(irq, desc); |
222 | } while (status); | 222 | } while (status); |
223 | } | 223 | } |
224 | 224 | ||
diff --git a/arch/arm/mach-integrator/pci_v3.c b/arch/arm/mach-integrator/pci_v3.c index 4418f6d7572d..fb8c6d97b22b 100644 --- a/arch/arm/mach-integrator/pci_v3.c +++ b/arch/arm/mach-integrator/pci_v3.c | |||
@@ -440,9 +440,10 @@ v3_pci_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) | |||
440 | return 1; | 440 | return 1; |
441 | } | 441 | } |
442 | 442 | ||
443 | static irqreturn_t v3_irq(int irq, void *devid, struct pt_regs *regs) | 443 | static irqreturn_t v3_irq(int irq, void *devid) |
444 | { | 444 | { |
445 | #ifdef CONFIG_DEBUG_LL | 445 | #ifdef CONFIG_DEBUG_LL |
446 | struct pt_regs *regs = get_irq_regs(); | ||
446 | unsigned long pc = instruction_pointer(regs); | 447 | unsigned long pc = instruction_pointer(regs); |
447 | unsigned long instr = *(unsigned long *)pc; | 448 | unsigned long instr = *(unsigned long *)pc; |
448 | char buf[128]; | 449 | char buf[128]; |
diff --git a/arch/arm/mach-integrator/time.c b/arch/arm/mach-integrator/time.c index ee49cf790dab..5278f589fcee 100644 --- a/arch/arm/mach-integrator/time.c +++ b/arch/arm/mach-integrator/time.c | |||
@@ -96,8 +96,7 @@ static struct rtc_ops rtc_ops = { | |||
96 | .set_alarm = integrator_rtc_set_alarm, | 96 | .set_alarm = integrator_rtc_set_alarm, |
97 | }; | 97 | }; |
98 | 98 | ||
99 | static irqreturn_t arm_rtc_interrupt(int irq, void *dev_id, | 99 | static irqreturn_t arm_rtc_interrupt(int irq, void *dev_id) |
100 | struct pt_regs *regs) | ||
101 | { | 100 | { |
102 | writel(0, rtc_base + RTC_EOI); | 101 | writel(0, rtc_base + RTC_EOI); |
103 | return IRQ_HANDLED; | 102 | return IRQ_HANDLED; |