Signed-off-by: Martin Hundebøll <[email protected]>
---
types.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/types.h b/types.h
index 2944f77..41283e0 100644
--- a/types.h
+++ b/types.h
@@ -187,7 +187,7 @@ enum bat_counters {
struct bat_priv {
atomic_t mesh_state;
struct net_device_stats stats;
- uint64_t *bat_counters; /* Per cpu counters */
+ uint64_t __percpu *bat_counters; /* Per cpu counters */
atomic_t aggregated_ogms; /* boolean */
atomic_t bonding; /* boolean */
atomic_t fragmentation; /* boolean */
--
1.7.10