summaryrefslogtreecommitdiff
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-03-05 22:08:58 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-11 09:30:11 -0700
commit77ba7f02ae77233c5780bff35d79aa3f7da15f70 (patch)
treec085624a50713a9481c58404d999ddbb20cb7da1 /net/core/dev.c
parent78bfdaabd972468476d2f178e50a2cf7f15df9a8 (diff)
pstore: Use dynamic spinlock initializer
commit e9a330c4289f2ba1ca4bf98c2b430ab165a8931b upstream. The per-prz spinlock should be using the dynamic initializer so that lockdep can correctly track it. Without this, under lockdep, we get a warning at boot that the lock is in non-static memory. Fixes: 109704492ef6 ("pstore: Make spinlock per zone instead of global") Fixes: 76d5692a5803 ("pstore: Correctly initialize spinlock and flags") Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions