From: Li Zhong Date: Mon, 17 Nov 2014 02:52:30 +0000 (+0800) Subject: powerpc/pseries: Initialise nvram_pstore_info's buf_lock X-Git-Tag: omap-for-v3.19/fixes-rc1~123^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a49ab6eeebe5624d51466969a7bac611231eede8;p=pandora-kernel.git 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: Li Zhong [mpe: Edited changelog] Signed-off-by: Michael Ellerman --- Reading git-diff-tree failed