summaryrefslogtreecommitdiff
path: root/backport/Makefile.build
diff options
context:
space:
mode:
authorLuca Coelho <luciano.coelho@intel.com>2018-09-20 14:28:36 +0300
committerJohannes Berg <johannes.berg@intel.com>2018-09-24 09:28:51 +0200
commit52d3cfdb17e639a9b9e5e13b08d5a2e14d72509b (patch)
treee0da099b4d6b1f45511e679a1fb6ac280dd670d1 /backport/Makefile.build
parenta3eb7a4492f156776fa6aa639bcbcdc2ce55e9e4 (diff)
backport: prevent unused subclass variable warning in < 3.18
In kernels earlier than 3.18, the raw_spin_lock defininition when CONFIG_DEBUG_LOCK_ALLOC is not enabled, was dropping one of the parameters, which caused a few "unused variable" warnings at places where this argument was only used in the call to raw_spin_lock_nested(). Take the latest definition which evaluates the argument to avoid compiler warnings. Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'backport/Makefile.build')
0 files changed, 0 insertions, 0 deletions