]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
x86-32, percpu: Correct the ordering of the percpu readmostly section
authorH. Peter Anvin <hpa@zytor.com>
Thu, 21 Oct 2010 07:15:00 +0000 (00:15 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 21 Oct 2010 07:15:00 +0000 (00:15 -0700)
Checkin c957ef2c59e952803766ddc22e89981ab534606f had inconsistent
ordering of .data..percpu..page_aligned and .data..percpu..readmostly;
the still-broken version affected x86-32 at least.

The page aligned version really must be page aligned...

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
LKML-Reference: <1287544022.4571.7.camel@sli10-conroe.sh.intel.com>
Cc: Shaohua Li <shaohua.li@intel.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
include/asm-generic/vmlinux.lds.h

index d7e7b21511b1f5c2fd25c91acbf5ef7bb5abfc15..1457b81357afeaec66501de5e642ec2b741acbce 100644 (file)
                VMLINUX_SYMBOL(__per_cpu_start) = .;                    \
                *(.data..percpu..first)                                 \
                . = ALIGN(PAGE_SIZE);                                   \
-               *(.data..percpu..readmostly)                            \
                *(.data..percpu..page_aligned)                          \
+               *(.data..percpu..readmostly)                            \
                *(.data..percpu)                                        \
                *(.data..percpu..shared_aligned)                        \
                VMLINUX_SYMBOL(__per_cpu_end) = .;                      \