projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a94502
)
[PATCH] for_each_possible_cpu: loopback device.
author
KAMEZAWA Hiroyuki
<kamezawa.hiroyu@jp.fujitsu.com>
Tue, 28 Mar 2006 09:56:37 +0000
(
01:56
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 28 Mar 2006 17:16:05 +0000
(09:16 -0800)
This patch replaces for_each_cpu with for_each_possible_cpu.
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/net/loopback.c
patch
|
blob
|
history
diff --git
a/drivers/net/loopback.c
b/drivers/net/loopback.c
index 0c13795dca38d0cdc8638b0f362a73a7b6c3e76b..b79d6e8d30457ddcf8f2c9cd58b927595f5f3315 100644
(file)
--- a/
drivers/net/loopback.c
+++ b/
drivers/net/loopback.c
@@
-172,7
+172,7
@@
static struct net_device_stats *get_stats(struct net_device *dev)
memset(stats, 0, sizeof(struct net_device_stats));
- for_each_cpu(i) {
+ for_each_
possible_
cpu(i) {
struct net_device_stats *lb_stats;
lb_stats = &per_cpu(loopback_stats, i);