projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
atheros: 2.6.26 patches
[openwrt-10.03/.git]
/
target
/
linux
/
atheros
/
patches-2.6.26
/
900-cevt_r4k_irq_disable_hazard.patch
diff --git a/target/linux/atheros/patches-2.6.26/900-cevt_r4k_irq_disable_hazard.patch
b/target/linux/atheros/patches-2.6.26/900-cevt_r4k_irq_disable_hazard.patch
new file mode 100644
(file)
index 0000000..
f60325e
--- /dev/null
+++ b/
target/linux/atheros/patches-2.6.26/900-cevt_r4k_irq_disable_hazard.patch
@@ -0,0
+1,10
@@
+--- a/arch/mips/kernel/cevt-r4k.c
++++ b/arch/mips/kernel/cevt-r4k.c
+@@ -205,6 +205,7 @@
+ while ((int)(read_c0_count() - cnt) <= 0)
+ ; /* Wait for expiry */
+
++ irq_disable_hazard();
+ if (!c0_compare_int_pending())
+ return 0;
+