From: Jeff Dike Date: Sat, 10 Feb 2007 09:44:06 +0000 (-0800) Subject: [PATCH] uml: mostly const a structure X-Git-Tag: v2.6.21-rc1~274^2~414 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a52f362f864f56238c9036f5c56f763a80e2ddd5;p=pandora-kernel.git [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 Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed