summaryrefslogtreecommitdiffstats
path: root/lib/decompress_bunzip2.c
diff options
context:
space:
mode:
authorDavid Daney <ddaney@caviumnetworks.com>2010-05-19 19:40:53 +0200
committerRalf Baechle <ralf@linux-mips.org>2010-08-05 14:25:39 +0200
commit4d2b11252b92c6aca9f9222ee05e00f7262c2e53 (patch)
tree7d9f51b5ecc324c6ea45f55105a4e1b74f3c7b70 /lib/decompress_bunzip2.c
parentMIPS: IP27: Don't include <linux/topology.h> into <asm/sn/agent.h>. (diff)
downloadlinux-4d2b11252b92c6aca9f9222ee05e00f7262c2e53.tar.xz
linux-4d2b11252b92c6aca9f9222ee05e00f7262c2e53.zip
MIPS: Don't overflow cevt-r4k.c calculations at high clock rates.
The 'mult' element of struct clock_event_device must never be wider than 32-bits. If it were, it would get truncated when used by clockevent_delta2ns() when this calls do_div(). We can meet this requirement by using clockevent_set_clock() to set the MULT and SHIFT values. Signed-off-by: David Daney <ddaney@caviumnetworks.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/1253/ Acked-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'lib/decompress_bunzip2.c')
0 files changed, 0 insertions, 0 deletions