Skip to content
Commit a49ab6ee authored by Li Zhong's avatar Li Zhong Committed by Michael Ellerman
Browse files

powerpc/pseries: Initialise nvram_pstore_info's buf_lock



nvram_pstore_info's buf_lock is not initialized before registering,
which is clearly incorrect.

It causes some strange behavior when trying to obtain the lock during
kdump process.

On a UP configuration, the console stopped for a couple of seconds, then
"lockup suspected" warning printed out, but then it continued to run.

So try lock fails, and lockup reported, but then arch_spin_lock()
passes.

Signed-off-by: default avatarLi Zhong <zhong@linux.vnet.ibm.com>
[mpe: Edited changelog]
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent 35891d40
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment