• Xunlei Pang's avatar
    time: Add the common weak version of update_persistent_clock() · 7494e9ee
    Xunlei Pang authored
    The weak update_persistent_clock64() calls update_persistent_clock(),
    if the architecture defines an update_persistent_clock64() to replace
    and remove its update_persistent_clock() version, when building the
    kernel the linker will throw an undefined symbol error, that is, any
    arch that switches to update_persistent_clock64() will have this issue.
    
    To solve the issue, we add the common weak update_persistent_clock().
    
    Cc: Prarit Bhargava <prarit@redhat.com>
    Cc: Richard Cochran <richardcochran@gmail.com>
    Cc: Ingo Molnar <mingo@kernel.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarXunlei Pang <pang.xunlei@linaro.org>
    Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
    7494e9ee
ntp.c 25.1 KB