From: Tejun Heo Date: Wed, 24 Jun 2009 06:13:47 +0000 (+0900) Subject: percpu: use DEFINE_PER_CPU_SHARED_ALIGNED() X-Git-Tag: v2.6.32-rc1~676^2^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9bf3121af348d9255f1c917830fe8c2df52efcb;p=pandora-kernel.git percpu: use DEFINE_PER_CPU_SHARED_ALIGNED() There are a few places where ___cacheline_aligned* is used with DEFINE_PER_CPU(). Use DEFINE_PER_CPU_SHARED_ALIGNED() instead. DEFINE_PER_CPU_SHARED_ALIGNED() applies alignment only on SMPs. While all other converted places used _in_smp variant or only get compiled for SMP, net/rds used unconditional ____cacheline_aligned. I don't see any reason these data structures should be aligned on UP and thus converted together. Signed-off-by: Tejun Heo Cc: Mike Frysinger Cc: Tony Luck Cc: Andy Grover --- Reading git-diff-tree failed