microblaze: Quiet section mismatch warnings for MMU version
authorMichal Simek <monstr@monstr.eu>
Tue, 13 Apr 2010 06:59:37 +0000 (08:59 +0200)
committerMichal Simek <monstr@monstr.eu>
Thu, 6 May 2010 09:21:58 +0000 (11:21 +0200)
commit63f1032b97638fc2b023fa968b7703c8ebe6d6d9
treed44fba046ea176d9beb1d90cc2bf940037b29f0f
parent7a0248e819ddaf2c2f28e6edd287b90aa930702a
microblaze: Quiet section mismatch warnings for MMU version

Remove section mismatch - based on ppc aproach.

WARNING: vmlinux.o(.text+0x64834): Section mismatch in reference
from the function __pte_alloc_kernel() to the function .init.text:early_get_page()
The function __pte_alloc_kernel() references
the function __init early_get_page().
This is often because __pte_alloc_kernel lacks a __init
annotation or the annotation of early_get_page is wrong.

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/include/asm/pgalloc.h
arch/microblaze/mm/pgtable.c