Staging: heci: fix softirq safe to unsafe spinlock issue
authorDongxiao Xu <dongxiao.xu@intel.com>
Sun, 31 May 2009 06:43:46 +0000 (14:43 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Jun 2009 18:00:55 +0000 (11:00 -0700)
commit58b25a63a18e88052c8f5f068e68feaac4c6831d
tree2bbc1f6b704fd76d3a3f5abe47dd71f6bf6bf44f
parent72abd2288318a35fbf225b93a31d4623e3b8c872
Staging: heci: fix softirq safe to unsafe spinlock issue

When spinlock is nested, and the outside one is spin_lock_bh, the inner
spinlock should also be spin_lock_bh, otherwise it will bring softirq-safe
to softirq-unsafe lock conversion.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/heci/heci_main.c
drivers/staging/heci/interrupt.c
drivers/staging/heci/io_heci.c