revert android-tegra-2.6.36-honeycomb-mr1-9001adc to v2.6.36
[firefly-linux-kernel-4.4.55.git] / mm / vmalloc.c
index d8087f0db5073fc9ed3f879c7bc582c4fc462d0f..6b8889da69a60612301c2bd26244ae0f3e1e1966 100644 (file)
@@ -516,15 +516,6 @@ static atomic_t vmap_lazy_nr = ATOMIC_INIT(0);
 /* for per-CPU blocks */
 static void purge_fragmented_blocks_allcpus(void);
 
-/*
- * called before a call to iounmap() if the caller wants vm_area_struct's
- * immediately freed.
- */
-void set_iounmap_nonlazy(void)
-{
-       atomic_set(&vmap_lazy_nr, lazy_max_pages()+1);
-}
-
 /*
  * Purges all lazily-freed vmap areas.
  *