[uml-devel] [PATCH 6/6] UML - Borrow const.h techniques

2007-11-05 Thread Jeff Dike
Suggested by Geert Uytterhoeven - use const.h to get constants that are usable in both C and assembly. I can't include it directly since this code can't include kernel headers. const.h is also for numeric constants that can be typed by tacking a "UL" or similar on the end. The constants here have

[uml-devel] [PATCH 0/6] UML - Six for 2.6.25

2007-11-05 Thread Jeff Dike
These six patches are cleanups and can wait until 2.6.25. Jeff -- Work email - jdike at linux dot intel dot com - This SF.net email is sponsored by: Splunk Inc. Still grepping through log fil

[uml-devel] [PATCH 4/6] UML - Console driver cleanups

2007-11-05 Thread Jeff Dike
Console driver cleanups - Changed an instance of foo = bar + foo to foo += bar Removed checks of tty->stopped - I don't think the low-level driver has any business looking at that Removed an annoying warning Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/drivers/

[uml-devel] [PATCH 3/6] UML - GPROF needs to depend on FRAME_POINTER

2007-11-05 Thread Jeff Dike
From: Karol Swietlicki <[EMAIL PROTECTED]> This is a short Kconfig fix for a problem in User Mode Linux. Frame pointers are required for gprof support to work. Signed-off-by: Karol Swietlicki <[EMAIL PROTECTED]> Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/Kconfig.debug |2 +- 1

[uml-devel] [PATCH 1/6] UML - const and other tidying

2007-11-05 Thread Jeff Dike
From: WANG Cong <[EMAIL PROTECTED]> This patch also does some improvements for uml code. Improvements include dropping unnecessary cast, killing some unnecessary code and still some constifying for pointers etc.. Signed-off-by: WANG Cong <[EMAIL PROTECTED]> Signed-off-by: Jeff Dike <[EMAIL PROTEC

[uml-devel] [PATCH 2/6] UML - SMP needs to depend on BROKEN for now

2007-11-05 Thread Jeff Dike
SMP still needs to depend on BROKEN for now. Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/Kconfig |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Index: linux-2.6/arch/um/Kconfig === --- linux-2.6.orig/arch/um

[uml-devel] [PATCH 5/6] UML - clone.c tidying

2007-11-05 Thread Jeff Dike
clone.c needed some style attention - updated copyright include trimming coding style Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/kernel/skas/clone.c | 32 ++-- 1 file changed, 18 insertions(+), 14 deletions(-) Index: linux-2.6/a

Re: [uml-devel] building 2.6.24-rc1 with VDE in a non-standard location?

2007-11-05 Thread Erik Paulson
On Mon, Nov 05, 2007 at 12:12:13PM -0500, Jeff Dike wrote: > > > CC arch/um/kernel/skas/mmu.o > > In file included from include/asm/processor-generic.h:13, > > from include/asm/processor.h:77, > > from include/asm/thread_info.h:11, > > from

Re: [uml-devel] [git Patch] UML: More varied improvements

2007-11-05 Thread Jeff Dike
On Mon, Nov 05, 2007 at 10:14:42PM +0800, WANG Cong wrote: > This patch also does some improvements for uml code. Improvements include > dropping unnecessary cast, killing some unnecessary code and still some > constifying for pointers etc.. Looks good - I'll forward it along.

Re: [uml-devel] building 2.6.24-rc1 with VDE in a non-standard location?

2007-11-05 Thread Jeff Dike
On Fri, Nov 02, 2007 at 11:22:44AM -0500, Erik Paulson wrote: > running: > make linux ARCH=um CFLAGS=-I/scratch/epaulson/vde/include This isn't going to help with the compilation problems, but the patch below seems to pass LFLAGS from the command line through to ld nicely. > CC arch/um/ker

[uml-devel] [git Patch] UML: More varied improvements

2007-11-05 Thread WANG Cong
Hi, Jeff! This patch also does some improvements for uml code. Improvements include dropping unnecessary cast, killing some unnecessary code and still some constifying for pointers etc.. Signed-off-by: WANG Cong <[EMAIL PROTECTED]> Cc: Jeff Dike <[EMAIL PROTECTED]> --- arch/um/drivers/ubd_kern