diff options
author | Avinash Patil <[email protected]> | 2013-05-17 17:50:24 -0700 |
---|---|---|
committer | John W. Linville <[email protected]> | 2013-05-22 15:08:56 -0400 |
commit | 013a492ecf2e6e1dd424d589fb27170e2481733f (patch) | |
tree | f32642de79e4e7a11630420e3dc59d69e700f6cc /tools/perf/scripts/python/syscall-counts.py | |
parent | 0f9e9b8ba72bc75ee6189d0e86639f7e7a494a30 (diff) |
mwifiex: replace spin_lock_irqsave with spin_lock and fix warn_on
We see this WARN_ON during PCIe unload:
WARNING: at kernel/smp.c:382 smp_call_function_many+0x66/0x1e1()
This happens because we are doing PCI iounmap operations while
holding spinlock via spin_lock_irqsave(). Holding spinlock this
way causes disabling IRQs and hence PCI iounmap shows warning on
irqs_disabled() check.
Use non-irq variant of spin_lock i.e. spin_lock() instead.
Signed-off-by: Avinash Patil <[email protected]>
Signed-off-by: Bing Zhao <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions