This is a total brain-fart on my part. Look into the <linux/smp_lock.h>
file, and you'll find an inline function for "lock_kernel()". In that
function, change the "if (lock_depth)" statement to a "if (!lock_depth)"
(ie just add the "!" character to reverse the test). Suddenly
everything works.
This silly thing was that I had fairly extensively tested the new lock
code yesterday with all kinds of extra sanity tests, and then when I
released 2.1.112 I removed the sanity tests and cleaned up the header
file a bit, and the "!" disappeared somewhen during that syntactic
cleanup.
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html