projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ad0977
)
[PARISC]: Fix build after ipv4_is_*() changes.
author
Joe Perches
<joe@perches.com>
Mon, 17 Dec 2007 04:28:24 +0000
(20:28 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jan 2008 22:58:20 +0000
(14:58 -0800)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/parisc/led.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/parisc/led.c
b/drivers/parisc/led.c
index a6d6b2488ffc267c475a09c849f5f18c73e53cbb..703b85edb004b3d5b9f7dca1286ad4cba156291f 100644
(file)
--- a/
drivers/parisc/led.c
+++ b/
drivers/parisc/led.c
@@
-364,7
+364,7
@@
static __inline__ int led_get_net_activity(void)
struct in_device *in_dev = __in_dev_get_rcu(dev);
if (!in_dev || !in_dev->ifa_list)
continue;
- if (
LOOPBACK
(in_dev->ifa_list->ifa_local))
+ if (
ipv4_is_loopback
(in_dev->ifa_list->ifa_local))
continue;
stats = dev->get_stats(dev);
rx_total += stats->rx_packets;