]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
kexec jump: remove duplication of kexec_restart_prepare()
authorHuang Ying <ying.huang@intel.com>
Fri, 15 Aug 2008 07:40:24 +0000 (00:40 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Aug 2008 15:35:42 +0000 (08:35 -0700)
commitca195b7f6da3d5dde0bb85a7c322d7de73352653
tree1f8a31634ddc2bd4ba8a5fc081b39babab62323b
parentfb45daa69d287b394eca1619b3fadff7c0215c71
kexec jump: remove duplication of kexec_restart_prepare()

Call kernel_restart_prepare() in kernel_kexec() instead of duplicating the
code.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Acked-by: Pavel Machek <pavel@suse.cz>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Cc: 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>
include/linux/reboot.h
kernel/kexec.c
kernel/sys.c