X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/518b748f5f32f38f884fdacab607662d9eef67a3..3f2b898918aa8a4a912ebf340985b77efdb2ed72:/target/linux/ar71xx/patches-2.6.33/902-mips_clocksource_init_war.patch 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); } -/*