aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2012-09-04 15:34:21 -0400
committerJohn Stultz <john.stultz@linaro.org>2012-09-24 12:38:07 -0400
commit706394211648117762edfaeffd6fc04bf3b1a75d (patch)
tree9ce33be0d144430c4089656a9e20c74d829d4638 /kernel
parent189374aed657e2228ad6b39ece438c9cdafc8dae (diff)
time: Convert CONFIG_GENERIC_TIME_VSYSCALL to CONFIG_GENERIC_TIME_VSYSCALL_OLD
To help migrate archtectures over to the new update_vsyscall method, redfine CONFIG_GENERIC_TIME_VSYSCALL as CONFIG_GENERIC_TIME_VSYSCALL_OLD Cc: Tony Luck <tony.luck@intel.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Andy Lutomirski <luto@amacapital.net> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Paul Turner <pjt@google.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Richard Cochran <richardcochran@gmail.com> Cc: Prarit Bhargava <prarit@redhat.com> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/time/Kconfig2
-rw-r--r--kernel/time/timekeeping.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/kernel/time/Kconfig b/kernel/time/Kconfig
index fd42bd452b75..489c86154d1f 100644
--- a/kernel/time/Kconfig
+++ b/kernel/time/Kconfig
@@ -13,7 +13,7 @@ config ARCH_CLOCKSOURCE_DATA
13 bool 13 bool
14 14
15# Timekeeping vsyscall support 15# Timekeeping vsyscall support
16config GENERIC_TIME_VSYSCALL 16config GENERIC_TIME_VSYSCALL_OLD
17 bool 17 bool
18 18
19# ktime_t scalar 64bit nsec representation 19# ktime_t scalar 64bit nsec representation
diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
index 02c19d3d8e0d..7c2851384c46 100644
--- a/kernel/time/timekeeping.c
+++ b/kernel/time/timekeeping.c
@@ -199,7 +199,7 @@ static void timekeeping_update(struct timekeeper *tk, bool clearntp)
199 ntp_clear(); 199 ntp_clear();
200 } 200 }
201 xt = tk_xtime(tk); 201 xt = tk_xtime(tk);
202 update_vsyscall(&xt, &tk->wall_to_monotonic, tk->clock, tk->mult); 202 update_vsyscall_old(&xt, &tk->wall_to_monotonic, tk->clock, tk->mult);
203} 203}
204 204
205/** 205/**