]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
m32r: convert to use arch_gettimeoffset()
authorjohn stultz <johnstul@us.ibm.com>
Tue, 22 Sep 2009 00:04:04 +0000 (17:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Sep 2009 14:17:43 +0000 (07:17 -0700)
commit95ad759c6b0f30ad9aa5efbdbcecb9597238c00f
tree596e961f86340694d205b652de02c90a16546b90
parentd5a6d1739526ed8c383db3dabc232bc15603439a
m32r: convert to use arch_gettimeoffset()

Convert m32r to use GENERIC_TIME via the arch_getoffset() infrastructure,
reducing the amount of arch specific code we need to maintain.

I also noted that m32r doesn't seem to be taking the xtime write lock
before calling do_timer()!  That looks like a pretty bad bug to me.  If
folks agree, let me know and I can move the lock grab to the correct spot.

Signed-off-by: John Stultz <johnstul@us.ibm.com>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m32r/Kconfig
arch/m32r/kernel/time.c