[RFC 4/5] ARM: P2V: introduce phys_to_virt/virt_to_phys runtime patching

Tony Lindgren tony at atomide.com
Mon Feb 7 11:15:28 EST 2011


* Russell King - ARM Linux <linux at arm.linux.org.uk> [110104 16:12]:
> On Tue, Jan 04, 2011 at 04:27:37PM -0500, Nicolas Pitre wrote:
> > On Tue, 4 Jan 2011, Russell King - ARM Linux wrote:
> > > diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
> > > index f67e682..7c5499d 100644
> > > --- a/arch/arm/kernel/setup.c
> > > +++ b/arch/arm/kernel/setup.c
> > > @@ -804,7 +804,7 @@ void __init setup_arch(char **cmdline_p)
> > >  	struct machine_desc *mdesc;
> > >  	char *from = default_command_line;
> > >  
> > > -	tags->mem.start = PHYS_OFFSET;
> > > +	init_tags.mem.start = PHYS_OFFSET;
> > 
> > Doesn't this belong in 2/5 instead?
> 
> It's actually the result of using interdiff with the original patch...
> It'll get killed shortly.

For the version in p2v branch:

Tested-by: Tony Lindgren <tony at atomide.com>



More information about the linux-arm-kernel mailing list