Re: [PATCH v4 1/5] arm: break part of __soft_restart out into separate function

2014-01-22 Thread Will Deacon
On Sat, Jan 11, 2014 at 01:05:20PM +, Leif Lindholm wrote: > Certain operations can be considered mandatory for any piece of code > preparing to switch off the MMU. Break this out into separate function > dmap_prepare(). idmap_prepare. dmap_prepare sounds like something *completely*

Re: [PATCH v4 1/5] arm: break part of __soft_restart out into separate function

2014-01-22 Thread Will Deacon
On Sat, Jan 11, 2014 at 01:05:20PM +, Leif Lindholm wrote: Certain operations can be considered mandatory for any piece of code preparing to switch off the MMU. Break this out into separate function dmap_prepare(). idmap_prepare. dmap_prepare sounds like something *completely* different!

[PATCH v4 1/5] arm: break part of __soft_restart out into separate function

2014-01-11 Thread Leif Lindholm
Certain operations can be considered mandatory for any piece of code preparing to switch off the MMU. Break this out into separate function dmap_prepare(). Signed-off-by: Leif Lindholm Suggested-by: Will Deacon --- arch/arm/include/asm/idmap.h |1 + arch/arm/kernel/process.c| 12

[PATCH v4 1/5] arm: break part of __soft_restart out into separate function

2014-01-11 Thread Leif Lindholm
Certain operations can be considered mandatory for any piece of code preparing to switch off the MMU. Break this out into separate function dmap_prepare(). Signed-off-by: Leif Lindholm leif.lindh...@linaro.org Suggested-by: Will Deacon will.dea...@arm.com --- arch/arm/include/asm/idmap.h |1