From 9bc95760eebcda89a61d7286e4e737cfca76127f Mon Sep 17 00:00:00 2001 From: Thiemo Seufer Date: Sun, 14 Jul 2002 23:00:20 -0700 Subject: [PATCH] Use proper ____cacheline_aligned define in netfilter_ip_tables.c this replaces the __attribute__ with its proper define. --- net/ipv4/netfilter/ip_tables.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'net') 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 +#include #include #include #include @@ -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); -- cgit v1.2.3