ARM: 7401/1: mm: Fix section mismatches
authorStephen Boyd <sboyd@codeaurora.org>
Mon, 14 May 2012 12:48:40 +0000 (17:48 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 14 May 2012 12:48:40 +0000 (17:48 +0530)
commit22b5dc2eb23c3d0ae74b68884474a876b59139b0
tree2bdc2531a260260851b84ba47eca74cc196378bc
parente1fdd9d7b044cd8b9ba7f85c970f28f7ed15793f
ARM: 7401/1: mm: Fix section mismatches

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

WARNING: arch/arm/mm/built-in.o(.text+0x1edc): Section mismatch
in reference from the function alloc_init_pud() to the function
.init.text:alloc_init_section()
The function alloc_init_pud() references
the function __init alloc_init_section().
This is often because alloc_init_pud lacks a __init
annotation or the annotation of alloc_init_section is wrong.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

Conflicts:

arch/arm/mm/mmu.c

Change-Id: I9fa79e04c998c56cd432e4486815bdf6258a81dc
arch/arm/mm/init.c
arch/arm/mm/mmu.c