]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] x86_64: align per-cpu section to configured cache bytes
authorZach Brown <zach.brown@oracle.com>
Fri, 3 Feb 2006 20:51:35 +0000 (21:51 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 5 Feb 2006 00:43:14 +0000 (16:43 -0800)
commit16acc0cd8f1aac63ddf5228c5bc29cf7d31627f4
treec1e6ae0b4f666a3e85b12b9280d1bff63104cf9e
parenta1002a48e1af5ff8d02bfe79536e6fce3a0ec369
[PATCH] x86_64: align per-cpu section to configured cache bytes

Align the start of the per-cpu section to the configured number of bytes in a
cache line.  This stops a BUG_ON() from triggering in load_module() when
DEFINE_PER_CPU() is used in a module and the section isn't cacheline-aligned.
Rusty also found this and sent a patch in a while ago
(http://lkml.org/lkml/2004/10/19/17), I don't know what came of that.

Signed-off-by: Zach Brown <zach.brown@oracle.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/vmlinux.lds.S