summaryrefslogtreecommitdiff
path: root/lib/locking-selftest-spin.h
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-02-10 09:44:06 (GMT)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 18:51:22 (GMT)
commita52f362f864f56238c9036f5c56f763a80e2ddd5 (patch)
treef9288fdfb8988a0ec31f052e89b3dfca1a632e4d /lib/locking-selftest-spin.h
parent99b0278f95fc9d55adf65133dc678167a88b632a (diff)
downloadlinux-fsl-qoriq-a52f362f864f56238c9036f5c56f763a80e2ddd5.tar.xz
[PATCH] uml: mostly const a structure
The chan_opts structure is mostly const, and needs no locking. Comment the lack of locking on the one field that can change. Make all the other fields const. It turned out that console_open_chan didn't use its chan_opts argument, so that is deleted from the function and its callers. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/locking-selftest-spin.h')
0 files changed, 0 insertions, 0 deletions