android_kernel_oneplus_msm8998/fs/pstore
Kees Cook fa77731910 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>
2017-08-06 19:19:43 -07:00
..
ftrace.c pstore: add pstore unregister 2015-10-22 08:59:18 -07:00
inode.c pstore: drop file opened reference count 2016-10-07 15:23:44 +02:00
internal.h pstore: Fix return type of pstore_is_mounted() 2015-10-22 10:57:33 -07:00
Kconfig pstore: add pstore unregister 2015-10-22 08:59:18 -07:00
Makefile pstore: add pstore unregister 2015-10-22 08:59:18 -07:00
platform.c pstore: fix code comment to match code 2015-11-02 13:41:52 -08:00
pmsg.c pstore: add pstore unregister 2015-10-22 08:59:18 -07:00
ram.c pstore: Allow prz to control need for locking 2017-08-06 19:19:43 -07:00
ram_core.c pstore: Use dynamic spinlock initializer 2017-08-06 19:19:43 -07:00