diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-04-27 17:40:02 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-04-27 17:40:02 +0000 |
commit | a743ead77824afb9fe5fa6a5b7a8913445e104d6 (patch) | |
tree | f9f4f0bc6a480273e839c851fd4fc81b76527727 /target/linux/atheros/patches-2.6.24/900-cevt_r4k_irq_disable_hazard.patch | |
parent | 18aeebfc58638705326c09bb48d96900deaf2b39 (diff) |
[atheros] enable 2.6.24 to run on ar53xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10957 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 000000000..d5e60624b --- /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; + |