aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/hotplug/ibmphp_pci.c
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2011-03-17 15:21:07 -0400
committerIngo Molnar <[email protected]>2011-03-25 11:32:11 +0100
commit29096202176ceaa5016a17ea2dd1aea19a4e90e2 (patch)
tree1350963a65beec5d9677b7e295c5ad9eb718b64e /drivers/pci/hotplug/ibmphp_pci.c
parent2092e6be82ec71ecbf5a8ceeef004bbcbdb78812 (diff)
futex: Fix WARN_ON() test for UP
An update of the futex code had a WARN_ON(!spin_is_locked(q->lock_ptr)) But on UP, spin_is_locked() is always false, and will trigger this warning, and even worse, it will exit the function without doing the necessary work. Converting this to a WARN_ON_SMP() fixes the problem. Reported-by: Richard Weinberger <[email protected]> Tested-by: Richard Weinberger <[email protected]> Signed-off-by: Steven Rostedt <[email protected]> Acked-by: Thomas Gleixner <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Acked-by: Darren Hart <[email protected]> Cc: Lai Jiangshan <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/pci/hotplug/ibmphp_pci.c')
0 files changed, 0 insertions, 0 deletions