summaryrefslogtreecommitdiff
path: root/arch/arc/kernel/intc-compact.c
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2016-01-01 15:28:45 +0300
committerVineet Gupta <vgupta@synopsys.com>2016-05-09 07:02:29 +0300
commit77c8d0d6b3f4ea0989b9ca42fb368cc2aac02495 (patch)
tree5ba977ce5f91690719b836091fead52a78301ec7 /arch/arc/kernel/intc-compact.c
parent7ec9f34a03e4a08469cca206ff5324f6b99fdc3f (diff)
downloadlinux-77c8d0d6b3f4ea0989b9ca42fb368cc2aac02495.tar.xz
ARC: clockevent: DT based probe
- timer frequency is derived from DT (no longer rely on top level DT "clock-frequency" probed early and exported by asm/clk.h) - TIMER0_IRQ need not be exported across arch code, confined to intc as it is property of same - Any failures in clockevent setup are considered pedantic and system panic()'s as there is no generic fallback (unlike clocksource where a jiffies based soft clocksource always exists) Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel/intc-compact.c')
-rw-r--r--arch/arc/kernel/intc-compact.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arc/kernel/intc-compact.c b/arch/arc/kernel/intc-compact.c
index 4195eedeb6d1..d31bc647146d 100644
--- a/arch/arc/kernel/intc-compact.c
+++ b/arch/arc/kernel/intc-compact.c
@@ -14,6 +14,8 @@
#include <linux/irqchip.h>
#include <asm/irq.h>
+#define TIMER0_IRQ 3 /* Fixed by ISA */
+
/*
* Early Hardware specific Interrupt setup
* -Platform independent, needed for each CPU (not foldable into init_IRQ)