projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mcp23s08 spi gpio expander support
[linux-2.6-block.git]
/
include
/
linux
/
reboot.h
diff --git
a/include/linux/reboot.h
b/include/linux/reboot.h
index 1dd1c707311fa0f1e5683547540d1f3edac48e21..85ea63f462af39fe0b589ac236baae4ee2831b39 100644
(file)
--- a/
include/linux/reboot.h
+++ b/
include/linux/reboot.h
@@
-67,6
+67,11
@@
extern void kernel_power_off(void);
void ctrl_alt_del(void);
+#define POWEROFF_CMD_PATH_LEN 256
+extern char poweroff_cmd[POWEROFF_CMD_PATH_LEN];
+
+extern int orderly_poweroff(bool force);
+
/*
* Emergency restart, callable from an interrupt handler.
*/