diff options
author | Mark Rutland <[email protected]> | 2015-12-11 11:04:31 +0000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2015-12-11 17:33:21 +0000 |
commit | f00083cae331e5d3eecade6b4fdc35d0825e73ef (patch) | |
tree | c991e1041947ba9c561579279a522b92fbd84df4 | |
parent | 4a6ccf30263f4e265c0f171561bf4c40bed5f273 (diff) |
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 <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
-rw-r--r-- | arch/arm64/mm/proc.S | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/mm/proc.S b/arch/arm64/mm/proc.S index cacecc4ad3e5..b6f9053ab184 100644 --- a/arch/arm64/mm/proc.S +++ b/arch/arm64/mm/proc.S @@ -139,8 +139,6 @@ ENTRY(cpu_do_switch_mm) ret ENDPROC(cpu_do_switch_mm) - .section ".text.init", #alloc, #execinstr - /* * __cpu_setup * |