]> Pileus Git - ~andy/linux/commit
time: Implement timespec_add
authorJohn Stultz <johnstul@us.ibm.com>
Wed, 14 Jul 2010 00:56:19 +0000 (17:56 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 27 Jul 2010 10:40:53 +0000 (12:40 +0200)
commitce3bf7ab22527183634a76512d9854a38615e4d5
tree79e48c7c84618d968664bd660c75e03fc98e7d11
parent8c73626ab28527b7eb7f3061c027fbfe530c488c
time: Implement timespec_add

After accidentally misusing timespec_add_safe, I wanted to make sure
we don't accidently trip over that issue again, so I created a simple
timespec_add() function which we can use to replace the instances
of timespec_add_safe() that don't want the overflow detection.

Signed-off-by: John Stultz <johnstul@us.ibm.com>
LKML-Reference: <1279068988-21864-3-git-send-email-johnstul@us.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/time.h
kernel/time/timekeeping.c