Re: arch/x86/mm/ioremap unification grew by 10x

From: Ingo Molnar
Date: Sun Feb 17 2008 - 14:51:19 EST



* Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:

> > static __initdata int after_paging_init;
> > -static __initdata pte_t bm_pte[PAGE_SIZE/sizeof(pte_t)]
> > - __attribute__((aligned(PAGE_SIZE)));
> > +static pte_t bm_pte[PAGE_SIZE/sizeof(pte_t)]
>
> Replace
> > + __attribute__((__section__(".bss.page_aligned")));
>
> with the shorter form:
> > + __section(.bss.page_aligned)));

i've picked up Ian's patch into x86.git and have done the above change.
Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/