diff options
author | John Crispin <blogic@openwrt.org> | 2015-04-10 08:27:44 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-04-10 08:27:44 +0000 |
commit | 448fdefd886a32e5695988338d8aa02a766f5cd0 (patch) | |
tree | 1970b839e17164d2c4499fdea1719739bb0232e0 /target | |
parent | 43801ec4da3d31bb4a58884f8c0e2808e702308b (diff) | |
download | master-187ad058-448fdefd886a32e5695988338d8aa02a766f5cd0.tar.gz master-187ad058-448fdefd886a32e5695988338d8aa02a766f5cd0.tar.bz2 master-187ad058-448fdefd886a32e5695988338d8aa02a766f5cd0.zip |
ralink: fix cevt-r4k hack
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45342 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ramips/patches-3.18/0017-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/target/linux/ramips/patches-3.18/0017-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch b/target/linux/ramips/patches-3.18/0017-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch index 4e3d962e86..955550a422 100644 --- a/target/linux/ramips/patches-3.18/0017-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch +++ b/target/linux/ramips/patches-3.18/0017-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch @@ -11,7 +11,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org> --- a/arch/mips/kernel/cevt-r4k.c +++ b/arch/mips/kernel/cevt-r4k.c -@@ -29,12 +29,6 @@ static int mips_next_event(unsigned long +@@ -29,12 +29,6 @@ return res; } @@ -24,7 +24,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org> DEFINE_PER_CPU(struct clock_event_device, mips_clockevent_device); int cp0_timer_irq_installed; -@@ -75,9 +69,38 @@ struct irqaction c0_compare_irqaction = +@@ -75,9 +69,38 @@ .name = "timer", }; @@ -63,7 +63,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org> } /* -@@ -198,12 +221,14 @@ int r4k_clockevent_init(void) +@@ -198,12 +221,14 @@ clockevents_register_device(cd); @@ -78,3 +78,22 @@ Signed-off-by: John Crispin <blogic@openwrt.org> return 0; } +--- a/arch/mips/ralink/Kconfig ++++ b/arch/mips/ralink/Kconfig +@@ -1,11 +1,16 @@ + if RALINK + ++config CEVT_SYSTICK_QUIRK ++ bool ++ default n ++ + config CLKEVT_RT3352 + bool + depends on SOC_RT305X || SOC_MT7620 + default y + select CLKSRC_OF + select CLKSRC_MMIO ++ select CEVT_SYSTICK_QUIRK + + config IRQ_INTC + bool |