]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit4a00ea1e18228e5ef99d4780671fda97226bda30
treed77c793ef68df78b3c9a73eab16438732f875c3c
parent47f61f397cc08b5a9a815bd03cb10c48dab66034
[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