kernel/reboot.c: re-enable the function of variable reboot_default
authorChuansheng Liu <[email protected]>
Tue, 24 Sep 2013 22:27:43 +0000 (15:27 -0700)
committerLinus Torvalds <[email protected]>
Wed, 25 Sep 2013 00:00:26 +0000 (17:00 -0700)
commite2f0b88e84eed9cf9797f0a88c8012ee0b885a6d
treef5c9fda1a8289a61f18ecf553e5469d6a28d9efd
parent8ac1c8d5deba65513b6a82c35e89e73996c8e0d6
kernel/reboot.c: re-enable the function of variable reboot_default

Commit 1b3a5d02ee07 ("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]>
kernel/reboot.c