]> err.no Git - linux-2.6/commit
[PATCH] Normalize timespec for negative values in ns_to_timespec
authorGeorge Anzinger <george@wildturkeyranch.net>
Fri, 3 Feb 2006 11:04:20 +0000 (03:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 3 Feb 2006 16:32:06 +0000 (08:32 -0800)
commit88fc3897e3219e63ae6e2d180a6c87d033ef9f3b
tree4443e273b15c2f07229d65b90df2ae3579afb80d
parent034b91a3b66cf9d2983ac45f73162395c0936c36
[PATCH] Normalize timespec for negative values in ns_to_timespec

- In case of a negative nsec value the result of the division must be
  normalized.

- Remove inline from an exported function.

Signed-off-by: George Anzinger <george@wildturkeyranch.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/time.c