Files
erofs-linux/kernel
Steven Rostedt 2909620217 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]>
2011-03-25 11:32:11 +01:00
..
2010-12-22 18:57:02 +01:00
…
…
2011-03-14 09:15:23 -04:00
2010-10-30 01:42:19 -04:00
2010-10-30 08:45:43 -04:00
…
2011-02-16 13:30:48 +01:00
…
…
…
2011-03-25 11:32:11 +01:00
2010-12-16 11:36:43 +01:00
…
2010-11-01 15:38:34 -04:00
2010-10-01 10:50:58 -07:00
…
…
…
…
…
…
2010-11-18 13:27:46 +01:00
2011-01-26 12:33:22 +01:00
2011-01-26 12:33:22 +01:00
…
2011-03-15 02:21:44 -04:00
…
…
2010-12-29 11:31:38 -08:00
…