powerpc/64e: Add __ref to early_alloc_pgtable()
authorScott Wood <scottwood@freescale.com>
Sat, 2 Aug 2014 03:07:40 +0000 (22:07 -0500)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 5 Aug 2014 05:40:49 +0000 (15:40 +1000)
commit7d17622159a3f0e9d4bf02a819cf003241e1c688
tree5fd956968464f68d6928e594c02ca8f1dd40eff5
parent95707d852856aec1cbdad1873ff2dc5161a5cb91
powerpc/64e: Add __ref to early_alloc_pgtable()

This silences a section mismatch warning.  early_alloc_pgtable() is
called from map_kernel_page() which cannot be __init, but only when
slab_is_available() returns false which can only happen during early
boot.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/pgtable_64.c