summaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
authorBrian Gerst <brgerst@gmail.com>2009-01-19 12:21:27 +0900
committerTejun Heo <tj@kernel.org>2009-01-20 12:29:19 +0900
commit0bd74fa8e29dcad98f7e8ffe01ec05fb3326abaf (patch)
tree8b2768ec721d649e1c9d0c8cff4caf44a5326263 /include/asm-generic
parent8ce031972b40da58c268caba8c5ea3c0856d7131 (diff)
downloadop-kernel-dev-0bd74fa8e29dcad98f7e8ffe01ec05fb3326abaf.zip
op-kernel-dev-0bd74fa8e29dcad98f7e8ffe01ec05fb3326abaf.tar.gz
percpu: refactor percpu.h
Impact: cleanup Refactor the DEFINE_PER_CPU_* macros and add .data.percpu.first section. Signed-off-by: Brian Gerst <brgerst@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/vmlinux.lds.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
index aa6b9b1..32bbf50 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
@@ -486,6 +486,7 @@
*/
#define PERCPU_VADDR(vaddr, phdr) \
PERCPU_PROLOG(vaddr) \
+ *(.data.percpu.first) \
*(.data.percpu.page_aligned) \
*(.data.percpu) \
*(.data.percpu.shared_aligned) \
OpenPOWER on IntegriCloud