diff options
author | Arnd Bergmann <[email protected]> | 2019-06-28 12:29:03 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-07-25 15:39:26 +0200 |
commit | 30a35f79faadfeb1b89a7fdb3875f14063519041 (patch) | |
tree | 75b1121770194afec6e4ad9e745f0de6150c145c /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | 68037aa78208f34bda4e5cd76c357f718b838cbb (diff) |
locking/lockdep: Clean up #ifdef checks
As Will Deacon points out, CONFIG_PROVE_LOCKING implies TRACE_IRQFLAGS,
so the conditions I added in the previous patch, and some others in the
same file can be simplified by only checking for the former.
No functional change.
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Will Deacon <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Bart Van Assche <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Waiman Long <[email protected]>
Cc: Yuyang Du <[email protected]>
Fixes: 886532aee3cd ("locking/lockdep: Move mark_lock() inside CONFIG_TRACE_IRQFLAGS && CONFIG_PROVE_LOCKING")
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions