xref: /linux/include/net/aligned_data.h (revision 3715b5df09b92168a4492b48bb7ea70d89f9d8f3)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 #ifndef _NET_ALIGNED_DATA_H
3 #define _NET_ALIGNED_DATA_H
4 
5 #include <linux/types.h>
6 
7 /* Structure holding cacheline aligned fields on SMP builds.
8  * Each field or group should have an ____cacheline_aligned_in_smp
9  * attribute to ensure no accidental false sharing can happen.
10  */
11 struct net_aligned_data {
12 };
13 
14 extern struct net_aligned_data net_aligned_data;
15 
16 #endif /* _NET_ALIGNED_DATA_H */
17