diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netdevice.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 9ae4544f0cf0..4b0c7f3aa32b 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -622,7 +622,7 @@ struct xps_map { | |||
622 | */ | 622 | */ |
623 | struct xps_dev_maps { | 623 | struct xps_dev_maps { |
624 | struct rcu_head rcu; | 624 | struct rcu_head rcu; |
625 | struct xps_map *cpu_map[0]; | 625 | struct xps_map __rcu *cpu_map[0]; |
626 | }; | 626 | }; |
627 | #define XPS_DEV_MAPS_SIZE (sizeof(struct xps_dev_maps) + \ | 627 | #define XPS_DEV_MAPS_SIZE (sizeof(struct xps_dev_maps) + \ |
628 | (nr_cpu_ids * sizeof(struct xps_map *))) | 628 | (nr_cpu_ids * sizeof(struct xps_map *))) |
@@ -1049,7 +1049,7 @@ struct net_device { | |||
1049 | spinlock_t tx_global_lock; | 1049 | spinlock_t tx_global_lock; |
1050 | 1050 | ||
1051 | #ifdef CONFIG_XPS | 1051 | #ifdef CONFIG_XPS |
1052 | struct xps_dev_maps *xps_maps; | 1052 | struct xps_dev_maps __rcu *xps_maps; |
1053 | #endif | 1053 | #endif |
1054 | 1054 | ||
1055 | /* These may be needed for future network-power-down code. */ | 1055 | /* These may be needed for future network-power-down code. */ |