atomic: use <linux/atomic.h>
[pandora-kernel.git] / include / linux / reboot.h
index 3005d5a..e0879a7 100644 (file)
 
 #include <linux/notifier.h>
 
+#define SYS_DOWN       0x0001  /* Notify of system down */
+#define SYS_RESTART    SYS_DOWN
+#define SYS_HALT       0x0002  /* Notify of system halt */
+#define SYS_POWER_OFF  0x0003  /* Notify of system power off */
+
 extern int register_reboot_notifier(struct notifier_block *);
 extern int unregister_reboot_notifier(struct notifier_block *);