]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/notifier.h
[NET_SCHED]: Add flow classifier
[linux-2.6-omap-h63xx.git] / include / linux / notifier.h
index bd3788084fa9edfb9dd38588470465930e956bfb..5dfbc684ce7daab792ca9ddf40e842fe5a5cc1c7 100644 (file)
@@ -207,9 +207,7 @@ static inline int notifier_to_errno(int ret)
 #define CPU_DOWN_PREPARE       0x0005 /* CPU (unsigned)v going down */
 #define CPU_DOWN_FAILED                0x0006 /* CPU (unsigned)v NOT going down */
 #define CPU_DEAD               0x0007 /* CPU (unsigned)v dead */
-#define CPU_LOCK_ACQUIRE       0x0008 /* Acquire all hotcpu locks */
-#define CPU_LOCK_RELEASE       0x0009 /* Release all hotcpu locks */
-#define CPU_DYING              0x000A /* CPU (unsigned)v not running any task,
+#define CPU_DYING              0x0008 /* CPU (unsigned)v not running any task,
                                        * not handling interrupts, soon dead */
 
 /* Used for CPU hotplug events occuring while tasks are frozen due to a suspend
@@ -240,5 +238,13 @@ static inline int notifier_to_errno(int ret)
 #define KBD_KEYSYM             0x0004 /* Keyboard keysym */
 #define KBD_POST_KEYSYM                0x0005 /* Called after keyboard keysym interpretation */
 
+extern struct blocking_notifier_head reboot_notifier_list;
+
+/* Virtual Terminal events. */
+#define VT_ALLOCATE            0x0001 /* Console got allocated */
+#define VT_DEALLOCATE          0x0002 /* Console will be deallocated */
+#define VT_WRITE               0x0003 /* A char got output */
+#define VT_UPDATE              0x0004 /* A bigger update occurred */
+
 #endif /* __KERNEL__ */
 #endif /* _LINUX_NOTIFIER_H */