diff options
author | John Stultz <john.stultz@linaro.org> | 2012-09-04 15:34:21 -0400 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2012-09-24 12:38:07 -0400 |
commit | 706394211648117762edfaeffd6fc04bf3b1a75d (patch) | |
tree | 9ce33be0d144430c4089656a9e20c74d829d4638 /arch/powerpc | |
parent | 189374aed657e2228ad6b39ece438c9cdafc8dae (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 'arch/powerpc')
-rw-r--r-- | arch/powerpc/Kconfig | 2 | ||||
-rw-r--r-- | arch/powerpc/kernel/time.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 352f416269c..0881660c9ef 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -135,7 +135,7 @@ config PPC | |||
135 | select ARCH_HAVE_NMI_SAFE_CMPXCHG | 135 | select ARCH_HAVE_NMI_SAFE_CMPXCHG |
136 | select GENERIC_SMP_IDLE_THREAD | 136 | select GENERIC_SMP_IDLE_THREAD |
137 | select GENERIC_CMOS_UPDATE | 137 | select GENERIC_CMOS_UPDATE |
138 | select GENERIC_TIME_VSYSCALL | 138 | select GENERIC_TIME_VSYSCALL_OLD |
139 | select GENERIC_CLOCKEVENTS | 139 | select GENERIC_CLOCKEVENTS |
140 | select GENERIC_STRNCPY_FROM_USER | 140 | select GENERIC_STRNCPY_FROM_USER |
141 | select GENERIC_STRNLEN_USER | 141 | select GENERIC_STRNLEN_USER |
diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c index 613a830d9d5..c825809b92e 100644 --- a/arch/powerpc/kernel/time.c +++ b/arch/powerpc/kernel/time.c | |||
@@ -712,7 +712,7 @@ static cycle_t timebase_read(struct clocksource *cs) | |||
712 | return (cycle_t)get_tb(); | 712 | return (cycle_t)get_tb(); |
713 | } | 713 | } |
714 | 714 | ||
715 | void update_vsyscall(struct timespec *wall_time, struct timespec *wtm, | 715 | void update_vsyscall_old(struct timespec *wall_time, struct timespec *wtm, |
716 | struct clocksource *clock, u32 mult) | 716 | struct clocksource *clock, u32 mult) |
717 | { | 717 | { |
718 | u64 new_tb_to_xs, new_stamp_xsec; | 718 | u64 new_tb_to_xs, new_stamp_xsec; |