select: add a timespec_add_safe() function
authorThomas Gleixner <tglx@linutronix.de>
Sun, 31 Aug 2008 15:09:53 +0000 (08:09 -0700)
committerArjan van de Ven <arjan@linux.intel.com>
Sat, 6 Sep 2008 04:34:57 +0000 (21:34 -0700)
For the select() rework, it's important to be able to add timespec
structures in an overflow-safe manner.

This patch adds a timespec_add_safe() function for this which is similar in
operation to ktime_add_safe(), but works on a struct timespec.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>

No differences found