[tip:x86/asm] x86: Reduce back the alignment of the per-CPU data section

From: tip-bot for Jan Beulich
Date: Thu Feb 10 2011 - 09:44:42 EST


Commit-ID: 94d1ac8b55799be10487fff9766cce6d6628462a
Gitweb: http://git.kernel.org/tip/94d1ac8b55799be10487fff9766cce6d6628462a
Author: Jan Beulich <JBeulich@xxxxxxxxxx>
AuthorDate: Wed, 9 Feb 2011 08:22:46 +0000
Committer: Ingo Molnar <mingo@xxxxxxx>
CommitDate: Thu, 10 Feb 2011 13:31:36 +0100

x86: Reduce back the alignment of the per-CPU data section

This complements commit:

47f19a0814e8: percpu: Remove the multi-page alignment facility

reverting one leftover of:

fe8e0c25cad2: x86, 32-bit: Align percpu area and irq stacks to THREAD_SIZE

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
Acked-by: Alexander van Heukelum <heukelum@xxxxxxxxxxx>
Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
LKML-Reference: <4D525CE60200007800030EE5@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
Cc: Alexander van Heukelum <heukelum@xxxxxxxxxxx>
---
arch/x86/kernel/vmlinux.lds.S | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S
index bf47007..e9f7a3c 100644
--- a/arch/x86/kernel/vmlinux.lds.S
+++ b/arch/x86/kernel/vmlinux.lds.S
@@ -305,7 +305,7 @@ SECTIONS
}

#if !defined(CONFIG_X86_64) || !defined(CONFIG_SMP)
- PERCPU(THREAD_SIZE)
+ PERCPU(PAGE_SIZE)
#endif

. = ALIGN(PAGE_SIZE);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/