mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
reboot: unicore32: prepare reboot_mode for moving to generic kernel code
Prepare for the moving the parsing of reboot= to the generic kernel code by making reboot_mode into a more generic form. Signed-off-by: Robin Holt <holt@sgi.com> Cc: Guan Xuetao <gxt@mprc.pku.edu.cn> Cc: Russ Anderson <rja@sgi.com> Cc: Robin Holt <holt@sgi.com> Cc: Russell King <rmk+kernel@arm.linux.org.uk> Cc: H. Peter Anvin <hpa@zytor.com> Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
edf2b13946
commit
c97a700851
4 changed files with 9 additions and 7 deletions
|
@ -13,6 +13,8 @@
|
|||
enum reboot_mode {
|
||||
REBOOT_COLD = 0,
|
||||
REBOOT_WARM,
|
||||
REBOOT_HARD,
|
||||
REBOOT_SOFT,
|
||||
};
|
||||
|
||||
extern int register_reboot_notifier(struct notifier_block *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue