aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorChristoph Lameter <[email protected]>2010-12-08 16:42:23 +0000
committerTejun Heo <[email protected]>2010-12-17 14:18:05 +0000
commit3ea9f6833c8f865a221b59ce37d7650dcf3b3e17 (patch)
tree1f304f3ef65c84c9a6446d2ad7fa3ce2e7e248ad /security/selinux/hooks.c
parentxen: Use this_cpu_inc_return (diff)
downloadkernel-3ea9f6833c8f865a221b59ce37d7650dcf3b3e17.tar.gz
kernel-3ea9f6833c8f865a221b59ce37d7650dcf3b3e17.zip
connector: Use this_cpu operations
The patch was originally in the use cpuops patchset but it needs an inc_return and is therefore dependent on an extension of the cpu ops. Fixed up and verified that it compiles. get_seq can benefit from this_cpu_operations. Address calculation is avoided and the increment is done using an xadd. Cc: Scott James Remnant <[email protected]> Cc: Mike Frysinger <[email protected]> Acked-by: H. Peter Anvin <[email protected]> Signed-off-by: Christoph Lameter <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions