arm64: mm: place __cpu_setup in .text
authorMark Rutland <mark.rutland@arm.com>
Fri, 11 Dec 2015 11:04:31 +0000 (11:04 +0000)
committerWill Deacon <will.deacon@arm.com>
Fri, 11 Dec 2015 17:33:21 +0000 (17:33 +0000)
commitf00083cae331e5d3eecade6b4fdc35d0825e73ef
treec991e1041947ba9c561579279a522b92fbd84df4
parent4a6ccf30263f4e265c0f171561bf4c40bed5f273
arm64: mm: place __cpu_setup in .text

We drop __cpu_setup in .text.init, which ends up being part of .text.
The .text.init section was a legacy section name which has been unused
elsewhere for a long time.

The ".text.init" name is misleading if read as a synonym for
".init.text". Any CPU may execute __cpu_setup before turning the MMU on,
so it should simply live in .text.

Remove the pointless section assignment. This will leave __cpu_setup in
the .text section.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/mm/proc.S
This page took 0.026193 seconds and 5 git commands to generate.