]> nv-tegra.nvidia Code Review - linux-2.6.git/commitdiff
Merge commit '63cc8c75156462d4b42cbdd76c293b7eee7ddbfe':
authorIngo Molnar <mingo@elte.hu>
Fri, 5 Sep 2008 07:24:30 +0000 (09:24 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 5 Sep 2008 07:24:30 +0000 (09:24 +0200)
  "percpu: introduce DEFINE_PER_CPU_PAGE_ALIGNED() macro"

into x86/core

Conflicts:
arch/x86/kernel/cpu/common.c

Signed-off-by: Ingo Molnar <mingo@elte.hu>
1  2 
arch/x86/kernel/cpu/common.c
arch/x86/kernel/vmlinux_32.lds.S
include/asm-generic/vmlinux.lds.h
include/linux/percpu.h

index 008c73796bbb9391e6c61e629ca5b03db6f824b8,b2f54fafb8bca41845a9a3522ff0080899014e2b..7d5a07f0fd243ee831d3c37afd7b4caeb4eca645
@@@ -22,9 -21,7 +22,9 @@@
  
  #include "cpu.h"
  
- DEFINE_PER_CPU(struct gdt_page, gdt_page) = { .gdt = {
 +static struct cpu_dev *this_cpu __cpuinitdata;
 +
+ DEFINE_PER_CPU_PAGE_ALIGNED(struct gdt_page, gdt_page) = { .gdt = {
        [GDT_ENTRY_KERNEL_CS] = { { { 0x0000ffff, 0x00cf9a00 } } },
        [GDT_ENTRY_KERNEL_DS] = { { { 0x0000ffff, 0x00cf9200 } } },
        [GDT_ENTRY_DEFAULT_USER_CS] = { { { 0x0000ffff, 0x00cffa00 } } },
Simple merge
index cb752ba7246611d7f326af760bfbe96a1e4b2592,69e5c1182fde7997b9ed208f4fdf30531c4953d5..7440a0dceddba276b59199d14e64a1ee2f232b36
  
  #define PERCPU(align)                                                 \
        . = ALIGN(align);                                               \
 -      __per_cpu_start = .;                                            \
 +      VMLINUX_SYMBOL(__per_cpu_start) = .;                            \
        .data.percpu  : AT(ADDR(.data.percpu) - LOAD_OFFSET) {          \
+               *(.data.percpu.page_aligned)                            \
                *(.data.percpu)                                         \
                *(.data.percpu.shared_aligned)                          \
        }                                                               \
Simple merge