mm: Move pgtable_cache_init() earlier
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 17 Jun 2009 03:48:39 +0000 (13:48 +1000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jun 2009 04:14:42 +0000 (21:14 -0700)
Some architectures need to initialize SLAB caches to be able
to allocate page tables. They do that from pgtable_cache_init()
so the later should be called earlier now, best is before
vmalloc_init().

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

No differences found