]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Refactor sys_reboot into reusable parts
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 26 Jul 2005 17:24:14 +0000 (11:24 -0600)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Jul 2005 21:35:41 +0000 (14:35 -0700)
commitbbfc6872748f47e60ddc05ee0e8c9447130b2847
treed77c793ef68df78b3c9a73eab16438732f875c3c
parent2c3c83ade00a6c346bc21f8beab5ea4a9b7cfa8a
[PATCH] Refactor sys_reboot into reusable parts

Because the factors of sys_reboot don't exist people calling
into the reboot path duplicate the code badly, leading to
inconsistent expectations of code in the reboot path.

This patch should is just code motion.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/reboot.h
kernel/sys.c