• B
    time: Introduce do_sys_settimeofday64() · 86d34732
    Baolin Wang 提交于
    The do_sys_settimeofday() function uses a timespec, which is not year
    2038 safe on 32bit systems.
    
    Thus this patch introduces do_sys_settimeofday64(), which allows us to
    transition users of do_sys_settimeofday() to using 64bit time types.
    
    Cc: Prarit Bhargava <prarit@redhat.com>
    Cc: Richard Cochran <richardcochran@gmail.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Ingo Molnar <mingo@kernel.org>
    Signed-off-by: NBaolin Wang <baolin.wang@linaro.org>
    [jstultz: Include errno-base.h to avoid build issue on some arches]
    Signed-off-by: NJohn Stultz <john.stultz@linaro.org>
    86d34732
timekeeping.h 7.8 KB