[PATCH] ARM: shmobile: Rework sh7372 sleep code to use virt_to_phys()
Simon Horman
horms at verge.net.au
Wed Jun 12 10:09:33 EDT 2013
On Wed, Jun 05, 2013 at 04:45:53PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm at opensource.se>
>
> Instead of having a hard coded virt-to-phys address
> conversion code in sleep-sh7372.S, rework the code
> to do the conversion in C using virt_to_phys().
>
> This removes the need for PLAT_PHYS_OFFSET which
> in turn is needed for ARCH_MULTIPLATFORM.
>
> Signed-off-by: Magnus Damm <damm at opensource.se>
> ---
>
> Tested with A3SM Suspend-to-RAM on Mackerel.
>
> arch/arm/mach-shmobile/include/mach/sh7372.h | 2 ++
> arch/arm/mach-shmobile/pm-sh7372.c | 3 +++
> arch/arm/mach-shmobile/sleep-sh7372.S | 5 ++++-
> 3 files changed, 9 insertions(+), 1 deletion(-)
Thanks, I have queued this up for v3.11 in the (new) cleanup-boot branch.
More information about the linux-arm-kernel
mailing list