aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorGeorge Beshers <[email protected]>2015-06-18 10:25:13 -0500
committerIngo Molnar <[email protected]>2015-06-19 09:48:03 +0200
commit68722101ec3a0e179408a13708dd020e04f54aab (patch)
tree89848779d52fae9f755787774d37e2d7b1a8a936 /scripts/gdb/linux/lists.py
parent405963b6a57c60040bc1dad2597f7f4b897954d1 (diff)
locking/lockdep: Remove hard coded array size dependency
An apparent oversight left a hardcoded '4' in place when LOCKSTAT_POINTS was introduced. The contention_point[] and contending_point[] arrays in the structs lock_class and lock_class_stats need to be the same size for the loops in lock_stats() to be correct. This patch allows LOCKSTAT_POINTS to be changed without affecting the correctness of the code. Signed-off-by: George Beshers <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions