• John Stultz's avatar
    time: Implement timespec_add · ce3bf7ab
    John Stultz authored
    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: default avatarJohn Stultz <johnstul@us.ibm.com>
    LKML-Reference: <1279068988-21864-3-git-send-email-johnstul@us.ibm.com>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    ce3bf7ab
timekeeping.c 23.7 KB