Messages in this thread | | | Date | Wed, 20 Oct 2010 23:10:43 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [tip:x86/mm] percpu: Introduce a read-mostly percpu API |
| |
On 10/20/2010 04:06 PM, tip-bot for Shaohua Li wrote:
> > diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h > index 8a92a17..d7e7b21 100644 > --- a/include/asm-generic/vmlinux.lds.h > +++ b/include/asm-generic/vmlinux.lds.h > @@ -677,7 +677,9 @@ > - LOAD_OFFSET) { \ > VMLINUX_SYMBOL(__per_cpu_start) = .; \ > *(.data..percpu..first) \ > + . = ALIGN(PAGE_SIZE); \ > *(.data..percpu..page_aligned) \ > + *(.data..percpu..readmostly) \ > *(.data..percpu) \ > *(.data..percpu..shared_aligned) \ > VMLINUX_SYMBOL(__per_cpu_end) = .; \ > @@ -703,6 +705,8 @@ > VMLINUX_SYMBOL(__per_cpu_load) = .; \ > VMLINUX_SYMBOL(__per_cpu_start) = .; \ > *(.data..percpu..first) \ > + . = ALIGN(PAGE_SIZE); \ > + *(.data..percpu..readmostly) \ > *(.data..percpu..page_aligned) \ > *(.data..percpu) \ > *(.data..percpu..shared_aligned) \
ARGH... looks like I didn't catch it everywhere...
-hpa
-- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.
| |