iwlwifi: change spin_lock to spin_lock_irqsave
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 19 Mar 2010 17:36:09 +0000 (10:36 -0700)
committerReinette Chatre <reinette.chatre@intel.com>
Thu, 25 Mar 2010 18:22:08 +0000 (11:22 -0700)
commit6e8cc38d5b05bb812f89a35bd9bf52405e67d0df
tree315cec6bbf580bdbc0e5c8dad06dfeb9da2313c5
parent6c69d121676761b2a85282df796af9c3f8c99b64
iwlwifi: change spin_lock to spin_lock_irqsave

Use spin_lock_irqsave() in interrupt handler to disable interrupts locally
and provide the spinlock on SMP. This covers both interrupt and SMP
concurrency.

With this changes, also fix the sparse warning issues.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Acked-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-ict.c
drivers/net/wireless/iwlwifi/iwl-core.c