netpoll: disable netpoll when enslave a device
[firefly-linux-kernel-4.4.55.git] / include / linux / notifier.h
index 2026f9e1ceb8e5cb5d6a9f3a2a1b4c4ff02d5953..a577762afbe74fa11cb2d8c74ceed95fd6e8093a 100644 (file)
@@ -211,6 +211,7 @@ static inline int notifier_to_errno(int ret)
 #define NETDEV_UNREGISTER_BATCH 0x0011
 #define NETDEV_BONDING_DESLAVE  0x0012
 #define NETDEV_NOTIFY_PEERS    0x0013
+#define NETDEV_JOIN            0x0014
 
 #define SYS_DOWN       0x0001  /* Notify of system down */
 #define SYS_RESTART    SYS_DOWN
@@ -237,7 +238,7 @@ static inline int notifier_to_errno(int ret)
                                        * enabling interrupts. Must not sleep,
                                        * must not fail */
 
-/* Used for CPU hotplug events occuring while tasks are frozen due to a suspend
+/* Used for CPU hotplug events occurring while tasks are frozen due to a suspend
  * operation in progress
  */
 #define CPU_TASKS_FROZEN       0x0010