Chuansheng Liu
e2f0b88e84
kernel/reboot.c: re-enable the function of variable reboot_default
...
Commit 1b3a5d02ee ("reboot: move arch/x86 reboot= handling to generic
kernel") did some cleanup for reboot= command line, but it made the
reboot_default inoperative.
The default value of variable reboot_default should be 1, and if command
line reboot= is not set, system will use the default reboot mode.
[[email protected] : fix comment layout]
Signed-off-by: Li Fei <[email protected] >
Signed-off-by: liu chuansheng <[email protected] >
Acked-by: Robin Holt <[email protected] >
Cc: <[email protected] > [3.11.x]
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2013-09-24 17:00:26 -07:00
Robin Holt
1b3a5d02ee
reboot: move arch/x86 reboot= handling to generic kernel
...
Merge together the unicore32, arm, and x86 reboot= command line
parameter handling.
Signed-off-by: Robin Holt <[email protected] >
Cc: H. Peter Anvin <[email protected] >
Cc: Russell King <[email protected] >
Cc: Guan Xuetao <[email protected] >
Cc: Russ Anderson <[email protected] >
Cc: Robin Holt <[email protected] >
Acked-by: Ingo Molnar <[email protected] >
Acked-by: Guan Xuetao <[email protected] >
Acked-by: Russell King <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2013-07-09 10:33:29 -07:00
Robin Holt
972ee83df8
reboot: checkpatch.pl the new kernel/reboot.c file
...
Get the new file to pass scripts/checkpatch.pl
Signed-off-by: Robin Holt <[email protected] >
Cc: H. Peter Anvin <[email protected] >
Cc: Russ Anderson <[email protected] >
Cc: Robin Holt <[email protected] >
Cc: Russell King <[email protected] >
Cc: Guan Xuetao <[email protected] >
Cc: Ingo Molnar <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2013-07-09 10:33:29 -07:00
Robin Holt
15d94b8256
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 <[email protected] >
Cc: H. Peter Anvin <[email protected] >
Cc: Russ Anderson <[email protected] >
Cc: Robin Holt <[email protected] >
Cc: Russell King <[email protected] >
Cc: Guan Xuetao <[email protected] >
Cc: Ingo Molnar <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2013-07-09 10:33:29 -07:00