Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
9bc95760
Commit
9bc95760
authored
Jul 14, 2002
by
Thiemo Seufer
Committed by
Linus Torvalds
Jul 14, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Use proper ____cacheline_aligned define in netfilter_ip_tables.c
this replaces the __attribute__ with its proper define.
parent
1938d56c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
net/ipv4/netfilter/ip_tables.c
net/ipv4/netfilter/ip_tables.c
+2
-1
No files found.
net/ipv4/netfilter/ip_tables.c
View file @
9bc95760
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
* a table
* a table
*/
*/
#include <linux/config.h>
#include <linux/config.h>
#include <linux/cache.h>
#include <linux/skbuff.h>
#include <linux/skbuff.h>
#include <linux/kmod.h>
#include <linux/kmod.h>
#include <linux/vmalloc.h>
#include <linux/vmalloc.h>
...
@@ -97,7 +98,7 @@ struct ipt_table_info
...
@@ -97,7 +98,7 @@ struct ipt_table_info
unsigned
int
underflow
[
NF_IP_NUMHOOKS
];
unsigned
int
underflow
[
NF_IP_NUMHOOKS
];
/* ipt_entry tables: one per CPU */
/* ipt_entry tables: one per CPU */
char
entries
[
0
]
__
attribute__
((
aligned
(
SMP_CACHE_BYTES
)))
;
char
entries
[
0
]
__
__cacheline_aligned
;
};
};
static
LIST_HEAD
(
ipt_target
);
static
LIST_HEAD
(
ipt_target
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment