13 #include <linux/kernel.h>
19 #include <asm/i8259.h>
22 #include <asm/pgtable.h>
27 static void enable_r4030_irq(
struct irq_data *
d)
49 static struct irq_chip r4030_irq_type = {
52 .irq_unmask = enable_r4030_irq,
101 }
else if (pending &
IE_IRQ2) {
104 }
else if (pending &
IE_IRQ1) {
109 panic(
"Unimplemented loc_no_irq handler");
113 static void r4030_set_mode(
enum clock_event_mode
mode,
114 struct clock_event_device *
evt)
121 .features = CLOCK_EVT_FEAT_PERIODIC,
124 .set_mode = r4030_set_mode,
129 struct clock_event_device *
cd =
dev_id;
131 cd->event_handler(cd);
135 static struct irqaction r4030_timer_irqaction = {
136 .handler = r4030_timer_interrupt,
138 .name =
"R4030 timer",