summaryrefslogtreecommitdiffstats
path: root/include/asm-cris
diff options
context:
space:
mode:
authorDavid Howells2008-07-24 06:28:44 +0200
committerLinus Torvalds2008-07-24 19:47:24 +0200
commitf0af566da6e9a4a2f5a83c5a70f3d0a772050e21 (patch)
tree4f7a4819abfde03938bb95c525ed652bcfe40a52 /include/asm-cris
parentpm: acpi pm: add DMI quirk list for ACPI 1.0 suspend ordering (diff)
downloadkernel-qcow2-linux-f0af566da6e9a4a2f5a83c5a70f3d0a772050e21.tar.gz
kernel-qcow2-linux-f0af566da6e9a4a2f5a83c5a70f3d0a772050e21.tar.xz
kernel-qcow2-linux-f0af566da6e9a4a2f5a83c5a70f3d0a772050e21.zip
pm: fix try_to_freeze_tasks()'s use of do_div()
Fix try_to_freeze_tasks()'s use of do_div() on an s64 by making elapsed_csecs64 a u64 instead and dividing that. Possibly this should be guarded lest the interval calculation turn up negative, but the possible negativity of the result of the division is cast away anyway. This was introduced by patch 438e2ce68dfd4af4cfcec2f873564fb921db4bb5. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: "Rafael J. Wysocki" <rjw@sisk.pl> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-cris')
0 files changed, 0 insertions, 0 deletions