[uml-devel] [FYI: 2.6.16 patch] fix the UML compilation

2007-01-05 Thread Adrian Bunk
FYI: I've applied the patch below to the 2.6.16 tree to fix the UML compilation on systems with recent kernel headers. Please complain if anything is wrong with it. cu Adrian commit cc0e04780f51553c88a2eb1a33f709346f6d0281 Author: Adrian Bunk <[EMAIL PROTECTED]> Date: Fri Jan 5 03:17:11 2007

[uml-devel] Odpowiedz automatyczna

2007-01-05 Thread aapsik4
replay - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.tec

[uml-devel] Odpowiedz automatyczna

2007-01-05 Thread aapsik4
replay - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.tec

[uml-devel] [PATCH 7/9] UML - Fix previous console locking

2007-01-05 Thread Jeff Dike
Eliminate the open_mutex after complaints from Blaisorblade. It turns out that the tty count provides the information needed to tell whether we are the first opener or last closer. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> -- arch/um/drivers/line.c | 48 -

[uml-devel] [PATCH 9/9] UML - mem.c and physmem.c formatting fixes

2007-01-05 Thread Jeff Dike
Fix a bunch of style violations in mem.c and physmem.c Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> -- arch/um/kernel/mem.c | 77 --- arch/um/kernel/physmem.c | 57 ++ 2 files changed, 57 insertions(+), 77 deletio

[uml-devel] [PATCH 0/9] UML - Locking fixes and code cleanup

2007-01-05 Thread Jeff Dike
Post-2.6.20 material. The locking fixes are mostly commenting the lack of locking or are making things const. There's a bunch of code cleanup - elimination of dead code, unused parameters, and unused structure fields - and some formatting fixes. Jeff -

[uml-devel] [PATCH 3/9] UML - Locking commentary in the random driver

2007-01-05 Thread Jeff Dike
Comment the lack of locking. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> -- arch/um/drivers/random.c |1 + 1 file changed, 1 insertion(+) Index: linux-2.6.18-mm/arch/um/drivers/random.c === --- linux-2.6.18-mm.orig/arch/um/driv

[uml-devel] [PATCH 4/9] UML - Mostly const a structure

2007-01-05 Thread Jeff Dike
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:

[uml-devel] [PATCH 8/9] UML - Locking comments in iomem driver

2007-01-05 Thread Jeff Dike
Comment some lack of locking in the iomem driver. Also, a couple of variables are in the wrong place, so they are moved. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> -- arch/um/kernel/mem.c | 10 -- arch/um/kernel/physmem.c | 17 + 2 files changed, 17 insertions(+

[uml-devel] [PATCH 2/9] UML - Use LIST_HEAD where possible

2007-01-05 Thread Jeff Dike
A couple of list_head declarations can be improved through the use of LIST_HEAD(). Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> -- arch/um/drivers/mconsole_kern.c |2 +- arch/um/drivers/port_kern.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Index: linux-2.6.18-mm/arch/u

[uml-devel] [PATCH 6/9] UML - console locking commentary and code cleanup

2007-01-05 Thread Jeff Dike
Remove the last vestiges of devfs from console registration. Change the name of the function, plus remove a couple of unused fields from the line_driver structure. struct lines is no longer needed, all traces of it are gone. The only way that I can see to mark a structure as being almost-const i

[uml-devel] [PATCH 5/9] UML - chan_user.h formatting fices

2007-01-05 Thread Jeff Dike
Whitespace fixes and emacs comment removal. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> -- arch/um/include/chan_user.h | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) Index: linux-2.6.18-mm/arch/um/include/chan_user.h ===

[uml-devel] [PATCH 1/9] UML - network driver locking and code cleanup

2007-01-05 Thread Jeff Dike
Add some missing locking to walks of the transports and opened lists. Delete some dead code. Comment the lack of some locking. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> -- arch/um/drivers/net_kern.c | 42 ++ 1 file changed, 18 insertions(+), 24 delet