ipc: define the slab_memory_callback priority as a constant
[firefly-linux-kernel-4.4.55.git] / mm / slub.c
index 992ecd4f0d393c748dceec95e3ddd714b16557b4..b145e798bf3d477054b0445719522be94ca7e9f8 100644 (file)
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -2978,7 +2978,7 @@ void __init kmem_cache_init(void)
        kmalloc_caches[0].refcount = -1;
        caches++;
 
-       hotplug_memory_notifier(slab_memory_callback, 1);
+       hotplug_memory_notifier(slab_memory_callback, SLAB_CALLBACK_PRI);
 #endif
 
        /* Able to allocate the per node structures */