kernel - Add shutdown method for vm.swapcache
[dragonfly.git] / sys / sys / eventhandler.h
index c334310..147c6fc 100644 (file)
@@ -171,6 +171,8 @@ struct proc;
 typedef void (*shutdown_fn) (void *, int);
 
 #define        SHUTDOWN_PRI_FIRST      EVENTHANDLER_PRI_FIRST
+#define        SHUTDOWN_PRI_SECOND     (EVENTHANDLER_PRI_FIRST + 1)
+#define        SHUTDOWN_PRI_THIRD      (EVENTHANDLER_PRI_FIRST + 2)
 #define        SHUTDOWN_PRI_DEFAULT    EVENTHANDLER_PRI_ANY
 #define        SHUTDOWN_PRI_DRIVER     (EVENTHANDLER_PRI_ANY + 5000)
 #define        SHUTDOWN_PRI_LAST       EVENTHANDLER_PRI_LAST