[PATCH] [ARM] Introduce patching of phys_to_virt and vice versa

Russell King - ARM Linux
2010-07-20T21:16:29Z

On Fri, Jul 02, 2010 at 10:06:04AM -0500, Rob Herring wrote:
> Should something more generic like the x86 alternative code be done for
> ARM? It's very likely we will need patching in other places like for UP
> and SMP in one kernel.

I think yes, we need to - I can't see how we can sensibly combine
kernels without this.

However, the effect of this is that XIP can't use this - as the
kernel text is read-only.