net: replace percpu_xxx funcs with this_cpu_xxx or __this_cpu_xxx
authorAlex Shi <alex.shi@intel.com>
Mon, 14 May 2012 21:15:31 +0000 (14:15 -0700)
committerTejun Heo <tj@kernel.org>
Mon, 14 May 2012 21:15:31 +0000 (14:15 -0700)
commit19e8d69c543f8f62050099892b138e981db952cc
treed528c64fbf333dccedac785eeebed3adccf5a153
parent9ff00d58a915b6747ba2e843ab2d04c712b4dc32
net: replace percpu_xxx funcs with this_cpu_xxx or __this_cpu_xxx

percpu_xxx funcs are duplicated with this_cpu_xxx funcs, so replace
them for further code clean up.

And in preempt safe scenario, __this_cpu_xxx funcs may has a bit
better performance since __this_cpu_xxx has no redundant
preempt_enable/preempt_disable on some architectures.

Signed-off-by: Alex Shi <alex.shi@intel.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: Patrick McHardy <kaber@trash.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
net/netfilter/xt_TEE.c
net/socket.c