aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2011-07-14 13:19:09 +0000
committerIngo Molnar <[email protected]>2011-08-04 08:17:56 +0000
commitf59de8992aa6dc85e81aadc26b0f69e17809721d (patch)
tree4cdb87598edb67a774281bf3cea2800114d2fa0c /lib/mpi/mpi-bit.c
parentslab, lockdep: Annotate slab -> rcu -> debug_object -> slab (diff)
downloadkernel-f59de8992aa6dc85e81aadc26b0f69e17809721d.tar.gz
kernel-f59de8992aa6dc85e81aadc26b0f69e17809721d.zip
lockdep: Clear whole lockdep_map on initialization
lockdep_init_map() only initializes parts of lockdep_map and triggers kmemcheck warning when it is copied as a whole. There isn't anything to be gained by clearing selectively. memset() the whole structure and remove loop for ->class_cache[] clearing. Addresses https://bugzilla.kernel.org/show_bug.cgi?id=35532 Signed-off-by: Tejun Heo <[email protected]> Reported-and-tested-by: Christian Casteyde <[email protected]> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=35532 Signed-off-by: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions