Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232098
b: refs/heads/master
c: f9f91ef
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner committed Jan 21, 2011
1 parent 9dd89ba commit 0356790
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 12174aac376f2c9390c51e66995d38c9e5e94eff
refs/heads/master: f9f91ef5e3a5bc1d4aa05b5d26c4d9e6dd930750
15 changes: 3 additions & 12 deletions trunk/arch/h8300/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ static void h8300_disable_irq(struct irq_data *data)
IER_REGS &= ~(1 << (data->irq - EXT_IRQ0));
}

static void h8300_end_irq(unsigned int irq)
{
}

static unsigned int h8300_startup_irq(struct irq_data *data)
{
if (is_ext_irq(data->irq))
Expand All @@ -77,7 +73,6 @@ struct irq_chip h8300irq_chip = {
.irq_shutdown = h8300_shutdown_irq,
.irq_enable = h8300_enable_irq,
.irq_disable = h8300_disable_irq,
.end = h8300_end_irq,
};

#if defined(CONFIG_RAMKERNEL)
Expand Down Expand Up @@ -159,18 +154,14 @@ void __init init_IRQ(void)

setup_vector();

for (c = 0; c < NR_IRQS; c++) {
irq_desc[c].status = IRQ_DISABLED;
irq_desc[c].action = NULL;
irq_desc[c].depth = 1;
irq_desc[c].chip = &h8300irq_chip;
}
for (c = 0; c < NR_IRQS; c++)
set_irq_chip_and_handler(c, &h8300irq_chip, handle_simple_irq);
}

asmlinkage void do_IRQ(int irq)
{
irq_enter();
__do_IRQ(irq);
generic_handle_irq(irq);
irq_exit();
}

Expand Down

0 comments on commit 0356790

Please sign in to comment.