Subject: [PATCH 1/3] ARM: move cpu_resume() to .text section

From: [email-masked] (Sudeep Holla)
Date: Tue, 24 Mar 2015 17:23:52 +0000

On 24/03/15 16:10, Ard Biesheuvel wrote:
> Move cpu_resume() to the .text section where it belongs. Change
> the adr reference to sleep_save_sp to an explicit PC relative
> reference so sleep_save_sp itself can remain in .data.
>
> This helps prevent linker failure on large kernels, as the code
> in the .data section may be too far away to be in range for normal
> b/bl instructions.
>
> Signed-off-by: Ard Biesheuvel <[email-masked]>

(Tested on Vexpress TC2 with CPUIdle enabled)
Tested-by: Sudeep Holla <[email-masked]>

Regards,
Sudeep