On Thu, Jul 19, 2007 at 10:02:53PM +0200, Sam Ravnborg wrote:
> On Thu, Jul 19, 2007 at 01:48:12AM -0700, [EMAIL PROTECTED] wrote:
> > 
> > Moves the remotely accessed per cpu data (which is currently marked
> > as ____cacheline_aligned_in_smp) into a different section, where all the 
> > data
> > elements are cacheline aligned. And as such, this differentiates the local
> > only data and remotely accessed data cleanly.
> > 
> > --- 
> > a/arch/arm/kernel/vmlinux.lds.S~define-new-percpu-interface-for-shared-data-version-4
> > +++ a/arch/arm/kernel/vmlinux.lds.S
> > @@ -66,6 +66,7 @@ SECTIONS
> >             . = ALIGN(4096);
> >             __per_cpu_start = .;
> >                     *(.data.percpu)
> > +                   *(.data.percpu.shared_aligned)
> >             __per_cpu_end = .;
> >  #ifndef CONFIG_XIP_KERNEL
> >             __init_begin = _stext;
> 
> Why is PERCPU not suitable for arm?

You can't put an output section inside an output section.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:
-
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to