[PATCH 1/4] ARM: idmap: populate identity map pgd at init time using .init.text

Will Deacon will.deacon at arm.com
Fri Nov 18 07:08:17 EST 2011


On Fri, Nov 18, 2011 at 12:02:03PM +0000, Catalin Marinas wrote:
> On 16 November 2011 16:48, Will Deacon <will.deacon at arm.com> wrote:
> > --- a/include/asm-generic/vmlinux.lds.h
> > +++ b/include/asm-generic/vmlinux.lds.h
> > @@ -425,6 +425,12 @@
> >                *(.kprobes.text)                                        \
> >                VMLINUX_SYMBOL(__kprobes_text_end) = .;
> >
> > +#define IDMAP_TEXT                                                     \
> > +               ALIGN_FUNCTION();                                       \
> > +               VMLINUX_SYMBOL(__idmap_text_start) = .;                 \
> > +               *(.idmap.text)                                          \
> > +               VMLINUX_SYMBOL(__idmap_text_end) = .;
> > +
> >  #define ENTRY_TEXT                                                     \
> >                ALIGN_FUNCTION();                                       \
> >                VMLINUX_SYMBOL(__entry_text_start) = .;                 \
> 
> Since IDMAP is specific to ARM, we should just add the IDMAP_TEXT
> macro to vmlinux.lds.S.

Argh, well spotted! ctags launched me there and I didn't realise I was outside
of my usual stomping ground.

I'll fix this.

Will



More information about the linux-arm-kernel mailing list