]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore: move handling from hardirq to the irq thread function
authorLuciano Coelho <coelho@ti.com>
Fri, 8 Mar 2013 07:41:53 +0000 (09:41 +0200)
committerLuciano Coelho <coelho@ti.com>
Mon, 25 Mar 2013 10:43:17 +0000 (12:43 +0200)
commite30be9f5ba4efc24ed323ec95f3d5e4f7ea77d25
tree6af9455afa25d70e0f647e76017ea96705de4852
parente819bc44b0f3363103a27fb7f224e8e780b70ea1
wlcore: move handling from hardirq to the irq thread function

Spin locks and completions are expensive in hard IRQ context and cause
problems with RT kernels.  In RT kernels, both spin locks and
completions can schedule(), so we can't use them in hard irq context.

Move handling code into the irq thread function to avoid that.

Reported-by: Gregoire Gentil <gregoire@alwaysinnovating.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wlcore/main.c