]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6fdf12a015ee48e89f1297cdea245a94fbd09a68
tree504f5d5e89c57c8b089cb022d1aa0191b48d9187
parent52a428c5753d3e776aa94f39d74cfdc9848816e5
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