diff options
author | John Crispin <john@openwrt.org> | 2011-03-11 08:19:53 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2011-03-11 08:19:53 +0000 |
commit | c75b0ca1a8e6e9c1ffd43719792ab1903085aa93 (patch) | |
tree | 4a1a3044e0f7acb02f16849a8758e292ff66ae7d /target/linux/lantiq/patches/010-mips_clocksource_init_war.patch | |
parent | 58a5102338f7fde82c0a025d99f044868c979d02 (diff) | |
download | upstream-c75b0ca1a8e6e9c1ffd43719792ab1903085aa93.tar.gz upstream-c75b0ca1a8e6e9c1ffd43719792ab1903085aa93.tar.bz2 upstream-c75b0ca1a8e6e9c1ffd43719792ab1903085aa93.zip |
* update kernel to .37 * add support for falcon (big thank you goes to lantiq !!)
SVN-Revision: 26021
Diffstat (limited to 'target/linux/lantiq/patches/010-mips_clocksource_init_war.patch')
-rw-r--r-- | target/linux/lantiq/patches/010-mips_clocksource_init_war.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/lantiq/patches/010-mips_clocksource_init_war.patch b/target/linux/lantiq/patches/010-mips_clocksource_init_war.patch index 81eabc6dcd..1670ccb8d8 100644 --- a/target/linux/lantiq/patches/010-mips_clocksource_init_war.patch +++ b/target/linux/lantiq/patches/010-mips_clocksource_init_war.patch @@ -1,6 +1,6 @@ --- a/arch/mips/kernel/cevt-r4k.c +++ b/arch/mips/kernel/cevt-r4k.c -@@ -22,6 +22,22 @@ +@@ -23,6 +23,22 @@ #ifndef CONFIG_MIPS_MT_SMTC @@ -23,11 +23,11 @@ static int mips_next_event(unsigned long delta, struct clock_event_device *evt) { -@@ -31,6 +47,7 @@ static int mips_next_event(unsigned long +@@ -32,6 +48,7 @@ cnt = read_c0_count(); cnt += delta; write_c0_compare(cnt); + compare_change_hazard(); - res = ((int)(read_c0_count() - cnt) > 0) ? -ETIME : 0; + res = ((int)(read_c0_count() - cnt) >= 0) ? -ETIME : 0; return res; } |