]> git.baikalelectronics.ru Git - kernel.git/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)
commit3e9f464f8429d556150bbbe3be5bf7b555d79d47
tree4443e273b15c2f07229d65b90df2ae3579afb80d
parent108c6a8c1c0f0da141c6796b3c0c19c1981c1bc0
[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