summaryrefslogtreecommitdiffstats
path: root/kernel/auditsc.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2012-05-22 13:55:15 +1000
committerNeilBrown <neilb@suse.de>2012-05-22 13:55:15 +1000
commitb405fe91e50c60c80e72d798025aea4917096421 (patch)
treebc0b8dc67e7bc7897c6299d4bc80e42a7842e7fe /kernel/auditsc.c
parent84e923453e19d6427c6aa884d9561f01e1425d09 (diff)
downloadblackbird-op-linux-b405fe91e50c60c80e72d798025aea4917096421.tar.gz
blackbird-op-linux-b405fe91e50c60c80e72d798025aea4917096421.zip
md/bitmap: use set_bit, test_bit, etc for operation on bitmap->flags.
We currently use '&' and '|' which isn't the norm in the kernel and doesn't allow easy atomicity. So change to bit numbers and {set,clear,test}_bit. This allows us to remove a spinlock/unlock (which was dubious anyway) and some other simplifications. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'kernel/auditsc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud