]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] uml: mostly const a structure
authorJeff Dike <jdike@addtoit.com>
Sat, 10 Feb 2007 09:44:06 +0000 (01:44 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:22 +0000 (10:51 -0800)
commitde69d80f4daacbb7b2f453c75b0a8533b608a6af
treef9288fdfb8988a0ec31f052e89b3dfca1a632e4d
parent3be3c14dbe3d039ded30b0a4eb2f440ce78100ec
[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>
arch/um/drivers/chan_kern.c
arch/um/drivers/ssl.c
arch/um/drivers/stdio_console.c
arch/um/include/chan_kern.h
arch/um/include/chan_user.h