/* Public domain. */ #ifndef _LINUX_REBOOT_H #define _LINUX_REBOOT_H #include #define register_reboot_notifier(x) #define unregister_reboot_notifier(x) #define SYS_RESTART 0 static inline void orderly_poweroff(bool force) { if (force) reboot(RB_HALT | RB_POWERDOWN | RB_NOSYNC); else reboot(RB_HALT | RB_POWERDOWN); } #endif