diff options
author | Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> | 2014-05-26 23:31:42 +0300 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-07-01 12:15:06 +0000 |
commit | 4db8e6d20ccb158de2e06d30a1a421f4d053e429 (patch) | |
tree | c80aec29132c68f24c4d0292b5b2627f692f0f6a /arch/openrisc/include/asm/irq.h | |
parent | 1b0a76c146adce782ddb8e71f01729f5f3671c66 (diff) | |
download | linux-4db8e6d20ccb158de2e06d30a1a421f4d053e429.tar.gz linux-4db8e6d20ccb158de2e06d30a1a421f4d053e429.tar.bz2 linux-4db8e6d20ccb158de2e06d30a1a421f4d053e429.zip |
irqchip: or1k-pic: Migrate from arch/openrisc/
In addition to consolidating the or1k-pic with other interrupt
controllers, this makes OpenRISC less tied to its on-cpu
interrupt controller.
All or1k-pic specific parts are moved out of irq.c and into
drivers/irqchip/irq-or1k-pic.c
In that transition, the functionality have been divided into
three chip variants.
One that handles level triggered interrupts, one that handles edge
triggered interrupts and one that handles the interrupt
controller that is present in the or1200 OpenRISC cpu
implementation.
Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Link: https://lkml.kernel.org/r/1401136302-27654-1-git-send-email-stefan.kristiansson@saunalahti.fi
Acked-by: Jonas Bonn <jonas@southpole.se>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/openrisc/include/asm/irq.h')
-rw-r--r-- | arch/openrisc/include/asm/irq.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/openrisc/include/asm/irq.h b/arch/openrisc/include/asm/irq.h index eb612b1865d2..b84634cc95eb 100644 --- a/arch/openrisc/include/asm/irq.h +++ b/arch/openrisc/include/asm/irq.h @@ -24,4 +24,7 @@ #define NO_IRQ (-1) +void handle_IRQ(unsigned int, struct pt_regs *); +extern void set_handle_irq(void (*handle_irq)(struct pt_regs *)); + #endif /* __ASM_OPENRISC_IRQ_H__ */ |