From: Zach Brown Date: Fri, 3 Feb 2006 20:51:35 +0000 (+0100) Subject: [PATCH] x86_64: align per-cpu section to configured cache bytes X-Git-Tag: v2.6.16-rc3~184 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16acc0cd8f1aac63ddf5228c5bc29cf7d31627f4;p=pandora-kernel.git [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 Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed