Extend CONFIG_DEBUG_LOCK_ALLOC check
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 21 May 2012 19:59:58 +0000 (12:59 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 1 Jun 2012 15:51:56 +0000 (08:51 -0700)
commite5b85622771090b7529cffdd38c0402a544609ef
treecfac316b33d5873acc0aa261e22f47375d4f83f5
parentc421831192e4015c300239d862c5b9d47088ecd1
Extend CONFIG_DEBUG_LOCK_ALLOC check

The CONFIG_DEBUG_LOCK_ALLOC check at configure time was added to
detect when mutex_lock() is defined as a GPL-only symbol.  However,
the check as written only inferred this from this configuration
setting, it never actually checked.  This change introduces that
missing check to prevent false positives.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
config/kernel.m4
configure