reboot: move shutdown/reboot related functions to kernel/reboot.c
authorRobin Holt <holt@sgi.com>
Mon, 8 Jul 2013 23:01:32 +0000 (16:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Jul 2013 17:33:29 +0000 (10:33 -0700)
commit15d94b82565ebfb0cf27830b96e6cf5ed2d12a9a
tree21aad9ff42bf328777956e835ef7962bc307da9a
parent0efbee70890c992f31a7b294ac654ff6c62d51c5
reboot: move shutdown/reboot related functions to kernel/reboot.c

This patch is preparatory.  It moves reboot related syscall, etc
functions from kernel/sys.c to kernel/reboot.c.

Signed-off-by: Robin Holt <holt@sgi.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Russ Anderson <rja@sgi.com>
Cc: Robin Holt <holt@sgi.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/Makefile
kernel/reboot.c [new file with mode: 0644]
kernel/sys.c