Commit 3211be5c authored by Paul Mackerras's avatar Paul Mackerras

[PPC] Fix some irq breakage with ARCH=ppc

Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 49f19ce4
...@@ -142,7 +142,7 @@ void timer_interrupt(struct pt_regs * regs) ...@@ -142,7 +142,7 @@ void timer_interrupt(struct pt_regs * regs)
while ((next_dec = tb_ticks_per_jiffy - tb_delta(&jiffy_stamp)) <= 0) { while ((next_dec = tb_ticks_per_jiffy - tb_delta(&jiffy_stamp)) <= 0) {
jiffy_stamp += tb_ticks_per_jiffy; jiffy_stamp += tb_ticks_per_jiffy;
profile_tick(CPU_PROFILING, regs); profile_tick(CPU_PROFILING);
update_process_times(user_mode(regs)); update_process_times(user_mode(regs));
if (smp_processor_id()) if (smp_processor_id())
......
...@@ -38,14 +38,14 @@ static int virtual_dma_mode; ...@@ -38,14 +38,14 @@ static int virtual_dma_mode;
static int doing_vdma; static int doing_vdma;
static struct fd_dma_ops *fd_ops; static struct fd_dma_ops *fd_ops;
static irqreturn_t floppy_hardint(int irq, void *dev_id, struct pt_regs * regs) static irqreturn_t floppy_hardint(int irq, void *dev_id)
{ {
unsigned char st; unsigned char st;
int lcount; int lcount;
char *lptr; char *lptr;
if (!doing_vdma) if (!doing_vdma)
return floppy_interrupt(irq, dev_id, regs); return floppy_interrupt(irq, dev_id);
st = 1; st = 1;
...@@ -69,7 +69,7 @@ static irqreturn_t floppy_hardint(int irq, void *dev_id, struct pt_regs * regs) ...@@ -69,7 +69,7 @@ static irqreturn_t floppy_hardint(int irq, void *dev_id, struct pt_regs * regs)
virtual_dma_residue += virtual_dma_count; virtual_dma_residue += virtual_dma_count;
virtual_dma_count=0; virtual_dma_count=0;
doing_vdma = 0; doing_vdma = 0;
floppy_interrupt(irq, dev_id, regs); floppy_interrupt(irq, dev_id);
return IRQ_HANDLED; return IRQ_HANDLED;
} }
return IRQ_HANDLED; return IRQ_HANDLED;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment