shmem: fix tmpfs to handle the huge= option properly
[cascardo/linux.git] / mm / sparse-vmemmap.c
index 68885dc..574c67b 100644 (file)
@@ -36,7 +36,7 @@
  * Uses the main allocators if they are available, else bootmem.
  */
 
-static void * __init_refok __earlyonly_bootmem_alloc(int node,
+static void * __ref __earlyonly_bootmem_alloc(int node,
                                unsigned long size,
                                unsigned long align,
                                unsigned long goal)