]> git.baikalelectronics.ru Git - kernel.git/commit
m68k: convert to use arch_gettimeoffset()
authorjohn stultz <johnstul@us.ibm.com>
Tue, 22 Sep 2009 00:04:05 +0000 (17:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Sep 2009 14:17:43 +0000 (07:17 -0700)
commitc6e0bf849096a2e54a550280afdaf7c301e8b981
treeeae834caeb70f70c1112113628cf6f94a0bdfd14
parentbaf446f963525d50f07fec7cba10e9328b6fd50f
m68k: convert to use arch_gettimeoffset()

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

I've taken my best swing at converting this, but I'm not 100% confident
I got it right. My cross-compiler is now out of date (gcc4.2) so I
wasn't able to  check if it compiled. Any assistance from arch
maintainers or testers to get this merged would be great.

Signed-off-by: John Stultz <johnstul@us.ibm.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/m68k/Kconfig
arch/m68k/kernel/time.c