kexec jump: in sync with hibernation implementation
commit73bd9c72a29be1e8de008186eea55d333a938804
authorHuang Ying <ying.huang@intel.com>
Fri, 15 Aug 2008 07:40:24 +0000 (15 00:40 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Aug 2008 15:35:42 +0000 (15 08:35 -0700)
treef01823f4f93ca08fa7619b093dd8eed6ba5b58ab
parentca195b7f6da3d5dde0bb85a7c322d7de73352653
kexec jump: in sync with hibernation implementation

Add device_pm_lock() and device_pm_unlock() in kernel_kexec() in sync with
current hibernation implementation.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/kexec.c