android_kernel_xiaomi_sm8350/net/dccp
Tejun Heo 7d720c3e4f percpu: add __percpu sparse annotations to net
Add __percpu sparse annotations to net.

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.

The macro and type tricks around snmp stats make things a bit
interesting.  DEFINE/DECLARE_SNMP_STAT() macros mark the target field
as __percpu and SNMP_UPD_PO_STATS() macro is updated accordingly.  All
snmp_mib_*() users which used to cast the argument to (void **) are
updated to cast it to (void __percpu **).

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: Patrick McHardy <kaber@trash.net>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: Vlad Yasevich <vladislav.yasevich@hp.com>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-02-16 23:05:38 -08:00
..
ccids dccp ccid-3: Remove CCID naming redundancy 2/2 2009-10-07 13:51:24 -07:00
ackvec.c
ackvec.h
ccid.c dccp: allow probing of CCID-array length 2010-02-12 11:47:00 -08:00
ccid.h dccp: fix bug in cache allocation 2010-02-03 19:00:30 -08:00
dccp.h net: Make setsockopt() optlen be unsigned. 2009-09-30 16:12:20 -07:00
diag.c
feat.c net: mark read-only arrays as const 2009-08-05 10:42:58 -07:00
feat.h
input.c
ipv4.c net: spread __net_init, __net_exit 2010-01-17 19:16:02 -08:00
ipv6.c net: spread __net_init, __net_exit 2010-01-17 19:16:02 -08:00
ipv6.h
Kconfig
Makefile
minisocks.c TCPCT part 1a: add request_values parameter for sending SYNACK 2009-12-02 22:07:23 -08:00
options.c
output.c inet: rename some inet_sock fields 2009-10-18 18:52:53 -07:00
probe.c dccp: fix auto-loading of dccp(_probe) 2010-02-03 19:00:31 -08:00
proto.c percpu: add __percpu sparse annotations to net 2010-02-16 23:05:38 -08:00
sysctl.c sysctl net: Remove unused binary sysctl code 2009-11-12 02:05:06 -08:00
timer.c net: Fix for dst_negative_advice 2009-10-20 18:55:46 -07:00