disable debugging version of write_lock()
authorAndrew Morton <akpm@osdl.org>
Sun, 19 Nov 2006 23:11:42 +0000 (00:11 +0100)
committerAdrian Bunk <bunk@stusta.de>
Sun, 19 Nov 2006 23:11:42 +0000 (00:11 +0100)
commitde6c0ccfa9ab24a9104c8791030e8ebecb1e2c5a
tree0e710663a573a34b83c25828266e9da66077c191
parent9e9c71470300baacb977ef0f332038691f8dc46a
disable debugging version of write_lock()

We've confirmed that the debug version of write_lock() can get stuck for long
enough to cause NMI watchdog timeouts and hence a crash.

We don't know why, yet.   Disable it for now.

Also disable the similar read_lock() code.  Just in case.

Thanks to Dave Olson <olson@unixfolk.com> for reporting and testing.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
lib/spinlock_debug.c