summaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-2.6.27/902-mips_clocksource_init_war.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/atheros/patches-2.6.27/902-mips_clocksource_init_war.patch')
-rw-r--r--target/linux/atheros/patches-2.6.27/902-mips_clocksource_init_war.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/atheros/patches-2.6.27/902-mips_clocksource_init_war.patch b/target/linux/atheros/patches-2.6.27/902-mips_clocksource_init_war.patch
index 564321c7c..03a66ff13 100644
--- a/target/linux/atheros/patches-2.6.27/902-mips_clocksource_init_war.patch
+++ b/target/linux/atheros/patches-2.6.27/902-mips_clocksource_init_war.patch
@@ -23,7 +23,7 @@
* The SMTC Kernel for the 34K, 1004K, et. al. replaces several
* of these routines with SMTC-specific variants.
*/
-@@ -30,6 +46,7 @@
+@@ -30,6 +46,7 @@ static int mips_next_event(unsigned long
cnt = read_c0_count();
cnt += delta;
write_c0_compare(cnt);
@@ -31,7 +31,7 @@
res = ((int)(read_c0_count() - cnt) > 0) ? -ETIME : 0;
return res;
}
-@@ -99,22 +116,6 @@
+@@ -99,22 +116,6 @@ static int c0_compare_int_pending(void)
return (read_c0_cause() >> cp0_compare_irq) & 0x100;
}