aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorliguang <[email protected]>2013-04-30 15:27:25 -0700
committerLinus Torvalds <[email protected]>2013-04-30 17:04:02 -0700
commit1def1dc91715acdb6dddfaed1a44149d42d8063c (patch)
tree34bbf0888cf4fbf32fe37e2851f44c0304c5a241 /scripts
parentef3b101925f2170c2b8cd2e126b37492ae02f77c (diff)
kernel/smp.c: use '|=' for csd_lock
csd_lock() uses assignment to data->flags rather than |=. That is not buggy at present because only one bit (CSD_FLAG_LOCK) is defined in call_single_data.flags. But it will become buggy if we later add another flag, so fix it now. Signed-off-by: liguang <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Oleg Nesterov <[email protected]> Cc: Ingo Molnar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions