diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-03-19 13:36:09 -0400 |
---|---|---|
committer | Reinette Chatre <reinette.chatre@intel.com> | 2010-03-25 14:22:08 -0400 |
commit | 6e8cc38d5b05bb812f89a35bd9bf52405e67d0df (patch) | |
tree | 315cec6bbf580bdbc0e5c8dad06dfeb9da2313c5 /lib/sha1.c | |
parent | 6c69d121676761b2a85282df796af9c3f8c99b64 (diff) |
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>
Diffstat (limited to 'lib/sha1.c')
0 files changed, 0 insertions, 0 deletions