summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/patches-2.6.33/902-mips_clocksource_init_war.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/patches-2.6.33/902-mips_clocksource_init_war.patch')
-rw-r--r--target/linux/ar71xx/patches-2.6.33/902-mips_clocksource_init_war.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/patches-2.6.33/902-mips_clocksource_init_war.patch b/target/linux/ar71xx/patches-2.6.33/902-mips_clocksource_init_war.patch
index 894eed1e5..1ce438080 100644
--- a/target/linux/ar71xx/patches-2.6.33/902-mips_clocksource_init_war.patch
+++ b/target/linux/ar71xx/patches-2.6.33/902-mips_clocksource_init_war.patch
@@ -32,7 +32,7 @@
return res;
}
@@ -100,22 +117,6 @@ static int c0_compare_int_pending(void)
- return (read_c0_cause() >> cp0_compare_irq) & 0x100;
+ return (read_c0_cause() >> cp0_compare_irq_shift) & (1ul << CAUSEB_IP);
}
-/*