aboutsummaryrefslogtreecommitdiff
path: root/mm/madvise.c
diff options
context:
space:
mode:
authorRalph Campbell <ralph.campbell@qlogic.com>2007-04-27 11:11:11 -0700
committerRoland Dreier <rolandd@cisco.com>2007-04-30 17:30:27 -0700
commit35ff032e65ab5cc03bbba46cefece7376c7c562f (patch)
tree76bfb852b0ccf0b095b39b4a4226da087d51dbdf /mm/madvise.c
parentb9099ff63c75216d6ca10bce5a1abcd9293c27e6 (diff)
IB/ipath: Don't call spin_lock_irq() from interrupt context
This patch fixes the problem reported by Bernd Schubert <bs@q-leap.de> with kernel debug options enabled: BUG: at kernel/lockdep.c:1860 trace_hardirqs_on() This was caused by using spin_lock_irq()/spin_unlock_irq() from interrupt context. Fix all the places that might be called from interrupts to use spin_lock_irqsave()/spin_unlock_irqrestore(). Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'mm/madvise.c')
0 files changed, 0 insertions, 0 deletions