summaryrefslogtreecommitdiffstats
path: root/include/linux/reboot.h
diff options
context:
space:
mode:
authorRobin Holt <holt@sgi.com>2013-07-08 16:01:36 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-09 10:33:29 -0700
commitc97a7008517abb7c805fbdd49410032a652def26 (patch)
treec2e2db7add9ae7d78259c713c50c2da31611a951 /include/linux/reboot.h
parentedf2b1394611fef7806d4af72179dc3ac101f275 (diff)
downloadlinux-c97a7008517abb7c805fbdd49410032a652def26.tar.gz
linux-c97a7008517abb7c805fbdd49410032a652def26.tar.bz2
linux-c97a7008517abb7c805fbdd49410032a652def26.zip
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>
Diffstat (limited to 'include/linux/reboot.h')
-rw-r--r--include/linux/reboot.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/reboot.h b/include/linux/reboot.h
index 37d56c356a06..ca29a6ffc08e 100644
--- a/include/linux/reboot.h
+++ b/include/linux/reboot.h
@@ -13,6 +13,8 @@
enum reboot_mode {
REBOOT_COLD = 0,
REBOOT_WARM,
+ REBOOT_HARD,
+ REBOOT_SOFT,
};
extern int register_reboot_notifier(struct notifier_block *);