audit: add tty field to LOGIN event
[GitHub/exynos8895/android_kernel_samsung_universal8895.git] / mm / vmalloc.c
index 8e3c9c5a3042b6149ff783bb1dfc0c0e08dc4046..0bfb05f48e3cadc4f5ccbd8f97ed47157d592a1e 100644 (file)
@@ -470,8 +470,8 @@ overflow:
                goto retry;
        }
        if (printk_ratelimit())
-               pr_warn("vmap allocation for size %lu failed: "
-                       "use vmalloc=<size> to increase size.\n", size);
+               pr_warn("vmap allocation for size %lu failed: use vmalloc=<size> to increase size\n",
+                       size);
        kfree(va);
        return ERR_PTR(-EBUSY);
 }
@@ -1143,7 +1143,12 @@ void *vm_map_ram(struct page **pages, unsigned int count, int node, pgprot_t pro
 }
 EXPORT_SYMBOL(vm_map_ram);
 
+#ifdef CONFIG_RKP
+struct vm_struct *vmlist __initdata;
+#else
 static struct vm_struct *vmlist __initdata;
+#endif
+
 /**
  * vm_area_add_early - add vmap area early during boot
  * @vm: vm_struct to add