diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-04-27 17:40:02 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-04-27 17:40:02 +0000 |
commit | 408fd8097fd7ff54f354ef5f4c29aacac6b7f064 (patch) | |
tree | 3faef9f7adfb7a6ad79e3cda2b6a8362d50984ce /target/linux/atheros/patches-2.6.24/900-cevt_r4k_irq_disable_hazard.patch | |
parent | a4dd1adf4a718f4eec35a561be068e2e8f885ae2 (diff) | |
download | mtk-20170518-408fd8097fd7ff54f354ef5f4c29aacac6b7f064.zip mtk-20170518-408fd8097fd7ff54f354ef5f4c29aacac6b7f064.tar.gz mtk-20170518-408fd8097fd7ff54f354ef5f4c29aacac6b7f064.tar.bz2 |
enable 2.6.24 to run on ar53xx
SVN-Revision: 10957
Diffstat (limited to 'target/linux/atheros/patches-2.6.24/900-cevt_r4k_irq_disable_hazard.patch')
-rw-r--r-- | target/linux/atheros/patches-2.6.24/900-cevt_r4k_irq_disable_hazard.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/atheros/patches-2.6.24/900-cevt_r4k_irq_disable_hazard.patch b/target/linux/atheros/patches-2.6.24/900-cevt_r4k_irq_disable_hazard.patch new file mode 100644 index 0000000..d5e6062 --- /dev/null +++ b/target/linux/atheros/patches-2.6.24/900-cevt_r4k_irq_disable_hazard.patch @@ -0,0 +1,12 @@ +Index: linux-2.6.24.2/arch/mips/kernel/cevt-r4k.c +=================================================================== +--- linux-2.6.24.2.orig/arch/mips/kernel/cevt-r4k.c ++++ linux-2.6.24.2/arch/mips/kernel/cevt-r4k.c +@@ -205,6 +205,7 @@ static int c0_compare_int_usable(void) + while ((int)(read_c0_count() - cnt) <= 0) + ; /* Wait for expiry */ + ++ irq_disable_hazard(); + if (!c0_compare_int_pending()) + return 0; + |