summaryrefslogtreecommitdiffstats
path: root/fs/select.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-08-31 08:09:53 -0700
committerArjan van de Ven <arjan@linux.intel.com>2008-09-05 21:34:57 -0700
commitdf0cc0539b4127bd02f64de2c335b4af1fdb3845 (patch)
tree2ba23487a2a6c37cfdcd1f5c9edb31a5e0b0df22 /fs/select.c
parent7bb67439bf6bd3782f07f1d7be1e63406453d5de (diff)
downloadop-kernel-dev-df0cc0539b4127bd02f64de2c335b4af1fdb3845.zip
op-kernel-dev-df0cc0539b4127bd02f64de2c335b4af1fdb3845.tar.gz
select: add a timespec_add_safe() function
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>
Diffstat (limited to 'fs/select.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud