]> git.baikalelectronics.ru Git - kernel.git/commit
sparc32, leon: Do not overwrite previously set irq flow handlers
authorAndreas Larsson <andreas@gaisler.com>
Sun, 21 Apr 2013 21:23:06 +0000 (21:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 May 2013 00:38:18 +0000 (17:38 -0700)
commit20af8df4c9ebb8c82117335e1bed8f292b022835
tree847c53a68bc766158812f782fc538de04e67b4eb
parentfca5e1283aabe815cb6db794fc2b543a2be5d92c
sparc32, leon: Do not overwrite previously set irq flow handlers

This is needed because when scan_of_devices finds the GAISLER_GPTIMER
core that corresponds to the SMP "ticker" timer, the previously set
proper irq flow handler gets overwritten with an incorrect one. This
leads to very flaky timer interrupt handling on some hardware. Proper
updates to handlers can still be done using leon_update_virq_handling.

Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/leon_kernel.c