Revert "sh: Bump the earlytimer bits back to time_init()."
commit82b242214b6f5b96eb9b76452ac6e2b67dd81abd
authorPaul Mundt <lethal@linux-sh.org>
Wed, 29 Jul 2009 13:43:58 +0000 (29 22:43 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 29 Jul 2009 13:43:58 +0000 (29 22:43 +0900)
tree64afe02076afbf1207df75b33c9f763019bb0b37
parent3725f28b478035a0410268f06a383f24ede7971c
Revert "sh: Bump the earlytimer bits back to time_init()."

This reverts commit 1d29ebebcb951ab6b04d22807cafb24b893310a2.

Bumping up the earlytimer initialization causes IRQs to be enabled too
early, which blows up lockdep:

...
NR_IRQS:256 nr_irqs:256
------------[ cut here ]------------
Badness at kernel/lockdep.c:2128

Pid : 0, Comm:          swapper
CPU : 0                 Not tainted  (2.6.31-rc3-00205-g3ed6e12-dirty #2443)

PC is at trace_hardirqs_on_caller+0x48/0x10c
PR is at trace_hardirqs_on_caller+0x3c/0x10c
...

Revert it back to late_time_init time, which fixes up lockdep.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/time.c