diff options
| author | Marek Szyprowski <m.szyprowski@samsung.com> | 2011-08-18 00:02:12 -0400 |
|---|---|---|
| committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-08-19 07:57:37 -0400 |
| commit | 995b528ad25968472742c50fe964d44fac2b857a (patch) | |
| tree | 0e0cd47b1a0765cf895e941ab4e506ab8b568b91 | |
| parent | f98d429d7a7ff43d6e7c9bab239223f44a85264e (diff) | |
ARM: SAMSUNG: Add chained enrty/exit call to timer interrupt handler
This patch adds chained IRQ enter/exit functions to timer
interrupt handler in order to function correctly on primary
controllers with different methods of flow control.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
| -rw-r--r-- | arch/arm/plat-samsung/irq-vic-timer.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/irq-vic-timer.c b/arch/arm/plat-samsung/irq-vic-timer.c index f714d060370d..51583cd30164 100644 --- a/arch/arm/plat-samsung/irq-vic-timer.c +++ b/arch/arm/plat-samsung/irq-vic-timer.c | |||
| @@ -22,9 +22,14 @@ | |||
| 22 | #include <plat/irq-vic-timer.h> | 22 | #include <plat/irq-vic-timer.h> |
| 23 | #include <plat/regs-timer.h> | 23 | #include <plat/regs-timer.h> |
| 24 | 24 | ||
| 25 | #include <asm/mach/irq.h> | ||
| 26 | |||
| 25 | static void s3c_irq_demux_vic_timer(unsigned int irq, struct irq_desc *desc) | 27 | static void s3c_irq_demux_vic_timer(unsigned int irq, struct irq_desc *desc) |
| 26 | { | 28 | { |
| 29 | struct irq_chip *chip = irq_get_chip(irq); | ||
| 30 | chained_irq_enter(chip, desc); | ||
| 27 | generic_handle_irq((int)desc->irq_data.handler_data); | 31 | generic_handle_irq((int)desc->irq_data.handler_data); |
| 32 | chained_irq_exit(chip, desc); | ||
| 28 | } | 33 | } |
| 29 | 34 | ||
| 30 | /* We assume the IRQ_TIMER0..IRQ_TIMER4 range is continuous. */ | 35 | /* We assume the IRQ_TIMER0..IRQ_TIMER4 range is continuous. */ |
