diff options
author | Tejun Heo <tj@kernel.org> | 2009-06-24 08:13:47 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-06-24 08:13:47 +0200 |
commit | b9bf3121af348d9255f1c917830fe8c2df52efcb (patch) | |
tree | 477f93b1000d7ac4bd283ee75d632b107eaf9600 /net/ipv4/syncookies.c | |
parent | percpu: cleanup percpu array definitions (diff) | |
download | linux-b9bf3121af348d9255f1c917830fe8c2df52efcb.tar.xz linux-b9bf3121af348d9255f1c917830fe8c2df52efcb.zip |
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 <tj@kernel.org>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Andy Grover <andy.grover@oracle.com>
Diffstat (limited to 'net/ipv4/syncookies.c')
0 files changed, 0 insertions, 0 deletions