UPSTREAM: arm64: mm: place __cpu_setup in .text
authorMark Rutland <mark.rutland@arm.com>
Fri, 11 Dec 2015 11:04:31 +0000 (11:04 +0000)
committerJeff Vander Stoep <jeffv@google.com>
Sun, 18 Sep 2016 20:21:42 +0000 (13:21 -0700)
commit2393897c7c7e10c2e8fe7d1c32466cbb885c9047
tree687fd0b78d2e09ada85d3fba1f08c0c9d3d47c03
parentc5ca0f872092c8c7fbcc903be244b63a33afd585
UPSTREAM: 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>
Bug: 30369029
Patchset: rework-pagetable

(cherry picked from commit f00083cae331e5d3eecade6b4fdc35d0825e73ef)
Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
Change-Id: I2e9b154cd6de92662c70c2b957479448252c661a
arch/arm64/mm/proc.S