sparc: Convert sparc to use read/update_persistent_clock
authorJohn Stultz <johnstul@us.ibm.com>
Thu, 4 Mar 2010 03:57:27 +0000 (19:57 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 13 Mar 2010 00:14:14 +0000 (01:14 +0100)
commitf5c9c9be267f73eda6a668ac81ddde56ed7fa793
tree7e1c463de9bd9daed3c679f9b7978184b5516b08
parent8eff8a5c1d3a1de7a2d173e0effc6cc9bcbb5177
sparc: Convert sparc to use read/update_persistent_clock

This patch converts the sparc architecture to use the generic
read_persistent_clock and update_persistent_clock interfaces, reducing
the amount of arch specific code we have to maintain, and allowing for
further cleanups in the future.

[ davem: compile fix: Here's a version that compiles, you have to get
  rid of the now unused variably last_rtc_update since we build with
  -Werror ]

Signed-off-by: John Stultz <johnstul@us.ibm.com>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: sparclinux@vger.kernel.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/sparc/Kconfig
arch/sparc/kernel/time_32.c