diff options
author | KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> | 2006-03-28 01:56:37 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-28 09:16:05 -0800 |
commit | 0fed48463fb20c6bcabc5cf70e2de47b30507ee1 (patch) | |
tree | 2e5633d4afe21dc79d1f0284951a4ee71c2c843c /drivers/net | |
parent | 0a945022778f100115d0cb6234eb28fc1b15ccaf (diff) | |
download | kernel_samsung_espresso10-0fed48463fb20c6bcabc5cf70e2de47b30507ee1.zip kernel_samsung_espresso10-0fed48463fb20c6bcabc5cf70e2de47b30507ee1.tar.gz kernel_samsung_espresso10-0fed48463fb20c6bcabc5cf70e2de47b30507ee1.tar.bz2 |
[PATCH] for_each_possible_cpu: loopback device.
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>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/loopback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/loopback.c b/drivers/net/loopback.c index 0c13795..b79d6e8 100644 --- 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); |