diff options
author | 2012-09-10 10:14:02 +0200 | |
---|---|---|
committer | 2012-09-10 10:14:02 +0200 | |
commit | 390946b17260797635cd9e65496b5a17b2db0a5d (patch) | |
tree | 42c4f0a172149d7e6752ddf55284cb1fcb386eec /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i2c-designware: Fix build error if CONFIG_I2C_DESIGNWARE_PLATFORM=y && CONFIG_I2C_DESIGNWARE_PCI=y (diff) | |
download | linux-dev-390946b17260797635cd9e65496b5a17b2db0a5d.tar.xz linux-dev-390946b17260797635cd9e65496b5a17b2db0a5d.zip |
i2c-core: Fix for lockdep validator
If kernel is compiled with CONFIG_PROVE_LOCKING the
validator raises an error when a multiplexer is removed
via sysfs and sub-clients are connected to it. This is a
false positive.
Documentation/lockdep-design.txt recommends to handle this
via calls to mutex_lock_nested().
Based on an earlier fix from Michael Lawnick.
Note that the extra code resolves to nothing unless
CONFIG_DEBUG_LOCK_ALLOC=y.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Michael Lawnick <ml.lawnick@gmx.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions