]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] reboot: comment and factor the main reboot functions
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 23 Sep 2005 04:43:45 +0000 (21:43 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Sep 2005 05:17:33 +0000 (22:17 -0700)
commitd62f77d65829d9b6862d80e6632a8207eefd8ab0
tree860c6a1070492cb2fa8cc5847a366b1841f8c6a5
parentb7579241fa6decd231f3e0fe8af12640dc7bdc5a
[PATCH] reboot: comment and factor the main reboot functions

In the lead up to 2.6.13 I fixed a large number of reboot problems by
making the calling conventions consistent.  Despite checking and double
checking my work it appears I missed an obvious one.

This first patch simply refactors the reboot routines so all of the
preparation for various kinds of reboots are in their own functions.
Making it very hard to get the various kinds of reboot out of sync.

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