drivers/clocksource/tcb_clksrc.c: fix init sequence
authorVoss, Nikolaus <N.Voss@weinmann.de>
Tue, 25 Jan 2011 23:07:29 +0000 (15:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 26 Jan 2011 00:50:04 +0000 (10:50 +1000)
commit1817dc0370873caff77b924b53ae489edaf9b1e2
tree504f5d5e89c57c8b089cb022d1aa0191b48d9187
parent52dbb9050936fd33ceb45f10529dbc992507c058
drivers/clocksource/tcb_clksrc.c: fix init sequence

setup_irq() was called before clockevents_register_device() which is
needed by the irq handler.  Bug was reproducible by restarting the
kernel using kexec (reliable crash).

Signed-off-by: Nikolaus Voss <n.voss@weinmann.de>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/clocksource/tcb_clksrc.c