From: George Beshers Date: Thu, 18 Jun 2015 15:25:13 +0000 (-0500) Subject: locking/lockdep: Remove hard coded array size dependency X-Git-Tag: omap-for-v4.3/legacy-v2-signed~211^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68722101ec3a0e179408a13708dd020e04f54aab;p=pandora-kernel.git 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 Cc: Andrew Morton Cc: Borislav Petkov Cc: H. Peter Anvin Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed