time: Add the common weak version of update_persistent_clock()
authorXunlei Pang <pang.xunlei@linaro.org>
Sun, 26 Jul 2015 10:45:39 +0000 (18:45 +0800)
committerJohn Stultz <john.stultz@linaro.org>
Mon, 17 Aug 2015 18:25:16 +0000 (11:25 -0700)
commit7494e9eedee2121305a48af4fbbcedb69a2c2b93
tree4e4861c3e97847d879946a5516d45a4bb27440e4
parente1d7ba8735551ed79c7a0463a042353574b96da3
time: Add the common weak version of update_persistent_clock()

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: Xunlei Pang <pang.xunlei@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
kernel/time/ntp.c
This page took 0.074688 seconds and 5 git commands to generate.