diff options
author | Kees Cook <keescook@chromium.org> | 2017-03-05 22:08:58 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-06 19:19:43 -0700 |
commit | fa7773191046237079dd88ac89b527bb4138aaea (patch) | |
tree | 3769af5a1d36acf60aea99b8e5a9bb1be26639f1 /Makefile | |
parent | 9ece74e1006e1706a7c239fd158f93f126c04c2e (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 'Makefile')
0 files changed, 0 insertions, 0 deletions