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
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
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
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 -
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
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
-
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
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:
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(+
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
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
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
===
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
13 matches
Mail list logo