patch-2.1.30 linux/include/linux/notifier.h
Next file: linux/include/linux/pi2.h
Previous file: linux/include/linux/netdevice.h
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Thu Mar 20 17:28:31 1997
- Orig file:
v2.1.29/linux/include/linux/notifier.h
- Orig date:
Sun Jan 19 05:47:26 1997
diff -u --recursive --new-file v2.1.29/linux/include/linux/notifier.h linux/include/linux/notifier.h
@@ -99,7 +99,9 @@
#define NETDEV_CHANGEADDR 0x0008
#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 */
/*
* Publically visible notifier objects
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov