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

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Jan 4 19:08:10 EST 2011


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.



More information about the linux-arm-kernel mailing list