vmap: cope with vm_unmap_aliases before vmalloc_init()
authorJeremy Fitzhardinge <jeremy@goop.org>
Tue, 28 Oct 2008 08:22:34 +0000 (19:22 +1100)
committerIngo Molnar <mingo@elte.hu>
Fri, 7 Nov 2008 09:05:59 +0000 (10:05 +0100)
commit9b46333406b9cb3397ab538485a4d57c316af0ff
tree02c347d86d128b21b3138cb56c7c544bc4e1b930
parent4bab0ea1d42dd1927af9df6fbf0003fc00617c50
vmap: cope with vm_unmap_aliases before vmalloc_init()

Xen can end up calling vm_unmap_aliases() before vmalloc_init() has
been called.  In this case its safe to make it a simple no-op.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Linux Memory Management List <linux-mm@kvack.org>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
mm/vmalloc.c