diff options
| author | J. R. Okajima <[email protected]> | 2024-07-23 16:40:17 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-09-01 20:43:32 -0700 |
| commit | e0ba72e3a4422c4255fa80191a637d7c65ef4c59 (patch) | |
| tree | 7c3f9910f8a0afa1cc7313af4cbb30dc1f7862f7 /tools/perf/scripts/python | |
| parent | 8af2caf7307d8002d88c377c58eba8cae75a2109 (diff) | |
lockdep: upper limit LOCKDEP_CHAINS_BITS
CONFIG_LOCKDEP_CHAINS_BITS value decides the size of chain_hlocks[] in
kernel/locking/lockdep.c, and it is checked by add_chain_cache() with
BUILD_BUG_ON((1UL << 24) <= ARRAY_SIZE(chain_hlocks));
This patch is just to silence BUILD_BUG_ON().
See also https://lore.kernel.org/all/30795.1620913191@jrobl/
[[email protected]: fix minor checkpatch issues in commit log]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: J. R. Okajima <[email protected]>
Signed-off-by: Carlos Llamas <[email protected]>
Acked-by: Tetsuo Handa <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Boqun Feng <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Waiman Long <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions