]> git.baikalelectronics.ru Git - kernel.git/commit
percpu: add __percpu sparse annotations to net drivers
authorTejun Heo <tj@kernel.org>
Tue, 16 Feb 2010 15:21:08 +0000 (15:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2010 07:05:38 +0000 (23:05 -0800)
commit17630c4a76903b657869debb687349214e835db0
tree186eec2c69a1f7149e08d354c36a34c21b58fa4f
parent34f2bc0a3dd3ea6a274d7f73559dde9435ee853f
percpu: add __percpu sparse annotations to net drivers

Add __percpu sparse annotations to net drivers.

These annotations are to make sparse consider percpu variables to be
in a different address space and warn if accessed without going
through percpu accessors.  This patch doesn't affect normal builds.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/chelsio/sge.c
drivers/net/loopback.c
drivers/net/veth.c
include/linux/if_macvlan.h