diff options
author | John Crispin <blogic@openwrt.org> | 2015-08-17 06:18:30 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-08-17 06:18:30 +0000 |
commit | c77bfa1ad3bcb08fad1636dc78642dc7668adb6e (patch) | |
tree | b07682094749f24b4273b009ef71a7f87589c913 /target/linux/ramips/patches-3.18/0066-cevt.patch | |
parent | 3041907b51cb6bf2dcfd71aa46e3f7a8044e98aa (diff) | |
download | master-187ad058-c77bfa1ad3bcb08fad1636dc78642dc7668adb6e.tar.gz master-187ad058-c77bfa1ad3bcb08fad1636dc78642dc7668adb6e.tar.bz2 master-187ad058-c77bfa1ad3bcb08fad1636dc78642dc7668adb6e.zip |
ramips: reorder patches
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46659 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/patches-3.18/0066-cevt.patch')
-rw-r--r-- | target/linux/ramips/patches-3.18/0066-cevt.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-3.18/0066-cevt.patch b/target/linux/ramips/patches-3.18/0066-cevt.patch new file mode 100644 index 0000000000..192afe4b8a --- /dev/null +++ b/target/linux/ramips/patches-3.18/0066-cevt.patch @@ -0,0 +1,12 @@ +--- a/arch/mips/ralink/cevt-rt3352.c ++++ b/arch/mips/ralink/cevt-rt3352.c +@@ -53,8 +53,7 @@ static int systick_next_event(unsigned l + + sdev = container_of(evt, struct systick_device, dev); + count = ioread32(sdev->membase + SYSTICK_COUNT); +- count = (count + delta) % SYSTICK_FREQ; +- iowrite32(count, sdev->membase + SYSTICK_COMPARE); ++ iowrite32(count + delta, sdev->membase + SYSTICK_COMPARE); + + return 0; + } |