ipc: define the slab_memory_callback priority as a constant
[firefly-linux-kernel-4.4.55.git] / include / linux / memory.h
index f80e0e331cb7e0f923feed2c26bb2cc03bd28e22..39628dfe4a4c16d5be661d5cad7075df9e334e8c 100644 (file)
@@ -53,6 +53,12 @@ struct memory_notify {
 struct notifier_block;
 struct mem_section;
 
+/*
+ * Priorities for the hotplug memory callback routines (stored in decreasing
+ * order in the callback chain)
+ */
+#define SLAB_CALLBACK_PRI       1
+
 #ifndef CONFIG_MEMORY_HOTPLUG_SPARSE
 static inline int memory_dev_init(void)
 {