diff options
| author | Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de> | 2002-07-14 23:00:20 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-07-14 23:00:20 -0700 |
| commit | 9bc95760eebcda89a61d7286e4e737cfca76127f (patch) | |
| tree | f6d93e61bc97f3261a123cd1b7904c6a2cb441da /net/ipv4 | |
| parent | 1938d56c78d40d77e940a6ae890957383e6b0325 (diff) | |
[PATCH] Use proper ____cacheline_aligned define in netfilter_ip_tables.c
this replaces the __attribute__ with its proper define.
Diffstat (limited to 'net/ipv4')
| -rw-r--r-- | net/ipv4/netfilter/ip_tables.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ip_tables.c b/net/ipv4/netfilter/ip_tables.c index af85a859eb8c..3fa3dd598d23 100644 --- a/net/ipv4/netfilter/ip_tables.c +++ b/net/ipv4/netfilter/ip_tables.c @@ -9,6 +9,7 @@ * a table */ #include <linux/config.h> +#include <linux/cache.h> #include <linux/skbuff.h> #include <linux/kmod.h> #include <linux/vmalloc.h> @@ -97,7 +98,7 @@ struct ipt_table_info unsigned int underflow[NF_IP_NUMHOOKS]; /* ipt_entry tables: one per CPU */ - char entries[0] __attribute__((aligned(SMP_CACHE_BYTES))); + char entries[0] ____cacheline_aligned; }; static LIST_HEAD(ipt_target); |
