aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parisc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/parisc')
-rw-r--r--drivers/parisc/led.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/parisc/led.c b/drivers/parisc/led.c
index c5c14dd3734f..2350e8a86eef 100644
--- a/drivers/parisc/led.c
+++ b/drivers/parisc/led.c
@@ -346,8 +346,8 @@ static __inline__ int led_get_net_activity(void)
346#ifndef CONFIG_NET 346#ifndef CONFIG_NET
347 return 0; 347 return 0;
348#else 348#else
349 static unsigned long rx_total_last, tx_total_last; 349 static u64 rx_total_last, tx_total_last;
350 unsigned long rx_total, tx_total; 350 u64 rx_total, tx_total;
351 struct net_device *dev; 351 struct net_device *dev;
352 int retval; 352 int retval;
353 353
@@ -356,7 +356,7 @@ static __inline__ int led_get_net_activity(void)
356 /* we are running as a workqueue task, so we can use an RCU lookup */ 356 /* we are running as a workqueue task, so we can use an RCU lookup */
357 rcu_read_lock(); 357 rcu_read_lock();
358 for_each_netdev_rcu(&init_net, dev) { 358 for_each_netdev_rcu(&init_net, dev) {
359 const struct net_device_stats *stats; 359 const struct rtnl_link_stats64 *stats;
360 struct rtnl_link_stats64 temp; 360 struct rtnl_link_stats64 temp;
361 struct in_device *in_dev = __in_dev_get_rcu(dev); 361 struct in_device *in_dev = __in_dev_get_rcu(dev);
362 if (!in_dev || !in_dev->ifa_list) 362 if (!in_dev || !in_dev->ifa_list)