Re: [PATCH 6/8] Allow per-cpu variables to be page-aligned

From: Rusty Russell
Date: Tue Mar 06 2007 - 19:32:06 EST


On Tue, 2007-03-06 at 10:17 -0800, Jeremy Fitzhardinge wrote:
> Rusty Russell wrote:
> > diff -r 213b1ec27001 arch/alpha/kernel/vmlinux.lds.S
> > --- a/arch/alpha/kernel/vmlinux.lds.S Tue Mar 06 19:01:59 2007 +1100
> > +++ b/arch/alpha/kernel/vmlinux.lds.S Tue Mar 06 19:02:03 2007 +1100
> > @@ -69,7 +69,7 @@ SECTIONS
> > . = ALIGN(8);
> > SECURITY_INIT
> >
> > - . = ALIGN(64);
> > + . = ALIGN(8192);
> >
>
> Isn't there a PAGE_SIZE we can use here? PAGE_SIZE_asm?
> (ditto all archs)

Probably, but I carefully copied the style from other parts of the same
file for the same arch. So, that cleanup would be another patch 8)

Rusty.


-
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/