diff options
author | J. R. Okajima <hooanon05g@gmail.com> | 2024-07-23 16:40:17 +0000 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-09-01 20:43:32 -0700 |
commit | e0ba72e3a4422c4255fa80191a637d7c65ef4c59 (patch) | |
tree | 7c3f9910f8a0afa1cc7313af4cbb30dc1f7862f7 /lib/seq_buf.c | |
parent | 8af2caf7307d8002d88c377c58eba8cae75a2109 (diff) | |
download | linux-e0ba72e3a4422c4255fa80191a637d7c65ef4c59.tar.gz linux-e0ba72e3a4422c4255fa80191a637d7c65ef4c59.tar.bz2 linux-e0ba72e3a4422c4255fa80191a637d7c65ef4c59.zip |
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/
[cmllamas@google.com: fix minor checkpatch issues in commit log]
Link: https://lkml.kernel.org/r/20240723164018.2489615-1-cmllamas@google.com
Signed-off-by: J. R. Okajima <hooanon05g@gmail.com>
Signed-off-by: Carlos Llamas <cmllamas@google.com>
Acked-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Waiman Long <longman@redhat.com>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/seq_buf.c')
0 files changed, 0 insertions, 0 deletions