Re: [uml-devel] User Mode Linux still doesn't build in 2.6.23-final.

2007-10-21 Thread WANG Cong
On Sat, Oct 20, 2007 at 12:41:29PM +0100, Nix wrote: >On 20 Oct 2007, Paolo Giarrusso told this: >> Guess most people are not using SMP right now, and that the error disappears >> without that setting > >It doesn't. It fails with non-SMP as well. > UML still doesn't build on 2.6.23-git16. Gcc th

Re: [uml-devel] User Mode Linux still doesn't build in 2.6.23-final.

2007-10-21 Thread WANG Cong
On Sun, Oct 21, 2007 at 09:08:48AM -0400, Jeff Dike wrote: >On Sun, Oct 21, 2007 at 07:48:54PM +0800, WANG Cong wrote: >> UML still doesn't build on 2.6.23-git16. >> >> Gcc threw out many errors, I put them in the web: >> http://wangcong.org/down/errors.txt

Re: [uml-devel] User Mode Linux still doesn't build in 2.6.23-final.

2007-10-21 Thread WANG Cong
On Sun, Oct 21, 2007 at 04:43:46PM +0100, Al Viro wrote: >On Sun, Oct 21, 2007 at 09:20:32PM +0800, WANG Cong wrote: >> On Sun, Oct 21, 2007 at 09:08:48AM -0400, Jeff Dike wrote: >> >On Sun, Oct 21, 2007 at 07:48:54PM +0800, WANG Cong wrote: >> >> UML still

Re: [uml-devel] User Mode Linux still doesn't build in 2.6.23-final.

2007-10-21 Thread WANG Cong
On Mon, Oct 22, 2007 at 06:22:14AM +0100, Al Viro wrote: >On Mon, Oct 22, 2007 at 12:37:46PM +0800, WANG Cong wrote: >> >Fallout continues; I've got a preliminary patch for it. Basically, we >> >need to stop doing -U__i386__ et.al. >> > >> >> Hi,

Re: [uml-devel] User Mode Linux still doesn't build in 2.6.23-final.

2007-10-21 Thread WANG Cong
On Mon, Oct 22, 2007 at 07:42:33AM +0100, Nix wrote: >On 22 Oct 2007, WANG Cong uttered the following: >> I build UML for non-SMP x86. But I don't know about UML_NET_VDE. ;( >> >> Errors threw out by gcc (too many) are put here: >> http://wangcong.org/down

Re: [uml-devel] User Mode Linux still doesn't build in 2.6.23-final.

2007-10-22 Thread WANG Cong
On Mon, Oct 22, 2007 at 08:59:43AM +0200, Sam Ravnborg wrote: >On Mon, Oct 22, 2007 at 02:52:02PM +0800, WANG Cong wrote: >> On Mon, Oct 22, 2007 at 07:42:33AM +0100, Nix wrote: >> >On 22 Oct 2007, WANG Cong uttered the following: >> >> I build UML for non-S

Re: [uml-devel] User Mode Linux still doesn't build in 2.6.23-final.

2007-10-22 Thread WANG Cong
On Mon, Oct 22, 2007 at 12:36:00PM +0100, Al Viro wrote: >On Mon, Oct 22, 2007 at 03:48:23PM +0800, WANG Cong wrote: >> I just followed what Sam told me, errors are much fewer this time, >> but still exist. Error messages are: >> >> CC arch/um/kernel/syscall.o

Re: [uml-devel] User Mode Linux still doesn't build in 2.6.23-final.

2007-10-22 Thread WANG Cong
On Mon, Oct 22, 2007 at 02:30:41PM +0200, Ingo Molnar wrote: > >* WANG Cong <[EMAIL PROTECTED]> wrote: > >> On Mon, Oct 22, 2007 at 12:36:00PM +0100, Al Viro wrote: >> >On Mon, Oct 22, 2007 at 03:48:23PM +0800, WANG Cong wrote: >> >> I just followed wh

[uml-devel] [Git Patch] arch/um/drivers/ubd_kern.c: fix a building error

2007-10-24 Thread WANG Cong
er from integer without a cast make[1]: *** [arch/um/drivers/ubd_kern.o] Error 1 make: *** [arch/um/drivers] Error 2 Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- arch/um/drivers/ubd_kern.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drive

[uml-devel] [Git Patch]arch/um/drivers/ubd_kern.c: a warning fix

2007-10-26 Thread WANG Cong
Fix an incompatible-pointer warning. Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- arch/um/drivers/ubd_kern.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c index e184b44..7e6cdde 100644 --- a/arch/um/d

[uml-devel] UML building failed in current Linus-tree

2007-10-27 Thread WANG Cong
Hi, Jeff, Sam! I just pulled from Linus-tree, and got the following error when building uml. $ make defconfig ARCH=um /home/wangcong/projects/linux-2.6/arch/um/Makefile-i386:32: /home/wangcong/projects/linux-2.6/arch/i386/Makefile.cpu: No such file or directory make: *** No rule to make target

Re: [uml-devel] UML building failed in current Linus-tree

2007-10-27 Thread WANG Cong
On Sun, Oct 28, 2007 at 03:43:43AM +, Al Viro wrote: >On Sun, Oct 28, 2007 at 11:24:41AM +0800, WANG Cong wrote: >> >> Hi, Jeff, Sam! >> >> I just pulled from Linus-tree, and got the following error when building uml. >> >> $ make defconfig ARCH=um &g

[uml-devel] [Git Patch] arch/um/os-Linux/: varied improvements and fixes

2007-10-28 Thread WANG Cong
Hi, Jeff. This patch contains varied fixes and improvements for some files under arch/um/os-Linux/, such as a typo fix in a perror message, a missing argument fix for a printf, some constifying for pointers and so on. Signed-off-by: WANG Cong <[EMAIL PROTECTED]> Cc: Jeff Dike <[EMAIL

[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]> --- arc

[uml-devel] UML defconfig building failed again

2007-11-06 Thread WANG Cong
Hi, Jeff! I used today's linus-tree and defconfig to compile uml, but it failed. Error messages are things like: In file included from include/asm/processor-generic.h:13, from include/asm/processor.h:77, from include/asm/thread_info.h:11, from

[uml-devel] [Patch] UML: building error fix

2007-11-15 Thread WANG Cong
include/asm-um/arch points to the non-existed include/asm-i386 directory. This patch fixed it. Signed-off-by: WANG Cong <[EMAIL PROTECTED]> Cc: Jeff Dike <[EMAIL PROTECTED]> --- diff --git a/arch/um/Makefile b/arch/um/Makefile index 31999bc..ba6813a 100644 --- a/arch/um/Makefile +

Re: [uml-devel] [PATCH] Keep UML Kconfig in sync with x86

2007-11-19 Thread WANG Cong
s of X86_32 and RWSEM_XCHGADD_ALGORITHM to >the UML/i386 Kconfig. > >Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> Tested-by: WANG Cong <[EMAIL PROTECTED]> Thanks, Jeff. With this and that patch[1], uml building works fine. ;) [1]

Re: [uml-devel] uml doesn't work on 2.6.24-rc2

2007-11-23 Thread WANG Cong
On Fri, Nov 23, 2007 at 11:54:41AM +0100, Jiri Olsa wrote: >Hi, > >after applying following changes, the mainline is working for me. > Hi, I have already mentioned this. Follow this link[1]. ;^) [1] http://lkml.org/lkml/2007/11/20/10

[uml-devel] [Patch 1/8] UML: Remove 'TOPDIR' from Makefiles

2007-12-31 Thread WANG Cong
TOPDIR is obsolete, use objtree instead. This patch removes TOPDIR from all UML Makefiles. Cc: Jeff Dike <[EMAIL PROTECTED]> Cc: Sam Ravnborg <[EMAIL PROTECTED]> Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- diff --git a/arch/um/Makefile b/arch/um/Makefile index ba681

[uml-devel] (Try #2) [Patch 1/8] UML: Remove 'TOPDIR' from Makefiles

2008-01-01 Thread WANG Cong
On Tue, Jan 01, 2008 at 11:49:42AM +0100, Sam Ravnborg wrote: >On Tue, Jan 01, 2008 at 11:33:42AM +0100, Sam Ravnborg wrote: >> On Tue, Jan 01, 2008 at 03:18:46PM +0800, WANG Cong wrote: >> > >> > TOPDIR is obsolete, use objtree instead. >> > This patch r

[uml-devel] [-mm Patch] uml: fix a building error

2008-01-17 Thread WANG Cong
This patch fixes this building error: ... drivers/char/mem.c: In function ‘read_mem’: drivers/char/mem.c:136: error: implicit declaration of function ‘unxlate_dev_mem_ptr’ ... Cc: Jeff Dike <[EMAIL PROTECTED]> Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- Index: linux/include

[uml-devel] [-mm Patch] UML: fix a building error

2008-01-17 Thread WANG Cong
em.h:8:22: error: asm/nops.h: No such file or directory ... Cc: Jeff Dike <[EMAIL PROTECTED]> Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- Index: linux/include/asm-um/nops.h === --- /dev/null +++ linux/include/asm-u

[uml-devel] [git Patch] UML: a build error fix

2008-01-31 Thread WANG Cong
once arch/um/kernel/skas/syscall.c:33: error: for each function it appears in.) make[2]: *** [arch/um/kernel/skas/syscall.o] Error 1 make[1]: *** [arch/um/kernel/skas] Error 2 make: *** [arch/um/kernel] Error 2 Cc: Jeff Dike <[EMAIL PROTECTED]> Signed-off-by: WANG Cong <[EMAIL PROTECTED

[uml-devel] [Patch] arch/um/include/init.h: Fix missing macro definitions

2008-01-31 Thread WANG Cong
This patch fixed the following build error in current -git tree. arch/um/kernel/config.c:10: error: expected declaration specifiers or '...' before '.' token ... Cc: Jeff Dike <[EMAIL PROTECTED]> Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- diff --git a/

[uml-devel] [-mm Patch] arch/um/kernel/mem.c: fix a shadowed variable

2008-02-05 Thread WANG Cong
Fix a shadowed variable in arch/um/kernel/mem.c, since there is a global variable has the same name. Cc: Jeff Dike <[EMAIL PROTECTED]> Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- Index: linux/arch/um/

[uml-devel] [-mm Patch] arch/um/kernel/initrd.c: fix a missed conversion specifier

2008-02-05 Thread WANG Cong
Fix a missed conversion specifier of a printk in arch/um/kernel/initrd.c. Signed-off-by: WANG Cong <[EMAIL PROTECTED]> Cc: Jeff Dike <[EMAIL PROTECTED]> --- Index: linux/arch/um/kernel/initrd.c === --- linux.orig/ar

[uml-devel] [Patch] arch/um/kernel/um_arch.c: some small improvements

2008-02-15 Thread WANG Cong
Make some small improvements for arch/um/kernel/um_arch.c. Signed-off-by: WANG Cong <[EMAIL PROTECTED]> Cc: Jeff Dike <[EMAIL PROTECTED]> --- diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c index a6c1dd1..56deed6 100644 --- a/arch/um/kernel/um_arch.c +++ b/ar

Re: [uml-devel] [PATCH] uml: use DIV_ROUND_UP

2008-02-19 Thread WANG Cong
From: Jiri Olsa <[EMAIL PROTECTED]> Subject: [PATCH] uml: use DIV_ROUND_UP Date: Tue, 19 Feb 2008 22:49:33 +0100 Message-ID: <[EMAIL PROTECTED]> > Hi, > > I just saw similar patches in the janitor kernel's list, > and spotted place it fits. > > Signed-off-by: Jiri Olsa <[EMAIL PROTECTED]> > ---

[uml-devel] [PATCH] arch/um/os-Linux/start_up.c: various improvements.

2008-03-31 Thread WANG Cong
This patch - lets ptrace_child become void - adds checking for the return value of change_sig - moves errors info into stderr instead of stdout. Cc: [EMAIL PROTECTED] Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- arch/um/os-Linux/start_up.c | 14 ++ 1 files chan

[uml-devel] [Patch] arch/um/os-Linux/main.c: Fix memory leaks.

2008-04-01 Thread WANG Cong
This patch fixes possible memory leaks in the main() function of arch/um/os-Linux/main.c. Cc: [EMAIL PROTECTED] Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- Index: linux-2.6/arch/um/os-Linux/main.c === --- linux-2.6.ori

Re: [uml-devel] [Patch] arch/um/os-Linux/main.c: Fix memory leaks.

2008-04-04 Thread WANG Cong
From: Jeff Dike <[EMAIL PROTECTED]> Date: Fri, 4 Apr 2008 11:49:01 -0400 > On Tue, Apr 01, 2008 at 11:06:41PM +0800, WANG Cong wrote: > > > > This patch fixes possible memory leaks in the main() function of > > arch/um/os-Linux/main.c. > > I'm somewhat du

[uml-devel] [Patch] arch/um/os-Linux/sys-i386/task_size.c: improve a bit

2008-04-12 Thread WANG Cong
Improve this code a bit: check sigaction's return value and remove a useless fflush(). Cc: Jeff Dike <[EMAIL PROTECTED]> Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- diff --git a/arch/um/os-Linux/sys-i386/task_size.c b/arch/um/os-Linux/sys-i386/task_size.c index 48d211

[uml-devel] [Patch] uml: compile error fix

2008-04-12 Thread WANG Cong
/um/kernel/smp.o] Error 1 make[1]: *** [arch/um/kernel] Error 2 make: *** [sub-make] Error 2 And since including in will break sparc, we add this #include in uml's own header. Cc: Jeff Dike <[EMAIL PROTECTED]> Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- diff --git a/inclu

[uml-devel] [Patch] UML: Make a function static

2008-04-12 Thread WANG Cong
arch/um/drivers/chan_kern.c::open_chan() can become static. Compile testing passed. Cc: Jeff Dike <[EMAIL PROTECTED]> Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- arch/um/drivers/chan_kern.c |2 +- arch/um/include/chan_kern.h |1 - 2 files changed, 1 insertions(+),

[uml-devel] [Patch] UML: Remove a useless function

2008-04-12 Thread WANG Cong
arch/um/drivers/chan_kern.c::chan_out_fd() is not used by anyone. Remove it. Compile testing passed. Cc: Jeff Dike <[EMAIL PROTECTED]> Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- arch/um/drivers/chan_kern.c | 13 - arch/um/include/chan_kern.h |1 - 2 file

[uml-devel] [Patch] UML: Make three functions static

2008-04-12 Thread WANG Cong
gned-off-by: WANG Cong <[EMAIL PROTECTED]> --- arch/um/drivers/mcast_kern.c|2 +- arch/um/drivers/mconsole_user.c |2 +- arch/um/drivers/port_user.c |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/um/drivers/mcast_kern.c b/arch/um/drivers/m

[uml-devel] [Patch] UML: Fix another build error

2008-04-12 Thread WANG Cong
definition of ‘mconsole_register_dev’ was here make[2]: *** [arch/um/drivers/mconsole_kern.o] Error 1 make[1]: *** [arch/um/drivers/mconsole_kern.ko] Error 2 make: *** [sub-make] Error 2 Compile testing passed. Cc: Jeff Dike <[EMAIL PROTECTED]> Signed-off-by: WANG Cong <[EMAIL PROTECTED]>

[uml-devel] [Patch] UML: Make several things static.

2008-04-12 Thread WANG Cong
Make several things static, because they no longer need to be global. Cc: Jeff Dike <[EMAIL PROTECTED]> Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- arch/um/drivers/net_kern.c |6 +++--- arch/um/drivers/slip_kern.c |4 ++-- arch/um/drivers/stdio_console.c |

[uml-devel] [Patch] UML: Clean up arch/um/drivers/ubd_kern.c

2008-04-12 Thread WANG Cong
Make some global functions and variables static. And remove some useless declarations for local functions, since we just need to move their definitions ahead. Compile testing passed. Cc: Jeff Dike <[EMAIL PROTECTED]> Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- arch/um/driver

Re: [uml-devel] [Patch] UML: Clean up arch/um/drivers/ubd_kern.c

2008-04-15 Thread WANG Cong
From: Jeff Dike <[EMAIL PROTECTED]> Date: Tue, 15 Apr 2008 09:33:25 -0400 > On Mon, Apr 14, 2008 at 11:42:37PM -0700, Andrew Morton wrote: > > omg, when checkpatch bit into this patch my CPU melted. > > Yeah, I've been scared to do a checkpatch run over that file. I think > it's the only core fil

Re: [uml-devel] [Patch] UML: Fix another build error

2008-04-15 Thread WANG Cong
From: Jeff Dike <[EMAIL PROTECTED]> Date: Mon, 14 Apr 2008 11:43:42 -0400 > On Sat, Apr 12, 2008 at 11:39:14PM +0800, WANG Cong wrote: > > > > This patch fixes the following build error. > > > > CC arch/um/drivers/mconsole_kern.o > > /home/wang

Re: [uml-devel] [Patch] UML: Clean up arch/um/drivers/ubd_kern.c

2008-04-16 Thread WANG Cong
From: Jeff Dike <[EMAIL PROTECTED]> Date: Wed, 16 Apr 2008 11:20:19 -0400 > On Wed, Apr 16, 2008 at 01:39:19PM +0800, WANG Cong wrote: > > From: Jeff Dike <[EMAIL PROTECTED]> > > Date: Tue, 15 Apr 2008 09:33:25 -0400 > > > On Mon, Apr 14, 2008 at 11:42:37PM -07

[uml-devel] [Patch] arch/um/kernel/irq.c: clean up some functions

2008-04-23 Thread WANG Cong
Make activate_fd() and free_irq_by_irq_and_dev() static. Remove init_aio_irq() since it has no users. Compile testing passed. Cc: Jeff Dike <[EMAIL PROTECTED]> Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- arch/um/include/irq_kern.h |2 -- arch/um/include/irq_user.h |2

[uml-devel] [Patch] arch/um/kernel/mem.c: remove arch_validate()

2008-04-23 Thread WANG Cong
Remove arch_validate(), because no one uses it. Remove useless macro HAVE_ARCH_VALIDATE. Make the variable 'empty_bad_page' static. Compile testing passed. Cc: Jeff Dike <[EMAIL PROTECTED]> Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- arch/um/kernel/ksyms.c |1 -

[uml-devel] [Patch] UML: make several things static

2008-04-24 Thread WANG Cong
Make some variables and functions static, since they don't need to be global. And remove an unused function - arch/um/kernel/time.c::sched_clock(). Cc: Jeff Dike <[EMAIL PROTECTED]> Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- arch/um/include/skas/skas.h |1 -

Re: [uml-devel] [Patch] UML: make several things static

2008-04-24 Thread WANG Cong
From: WANG Cong <[EMAIL PROTECTED]> Date: Thu, 24 Apr 2008 16:36:55 +0800 (CST) > > Make some variables and functions static, since they don't need > to be global. > > And remove an unused function - arch/um/kernel/time.c::sched_clock(). > Sorry, Andrew. I forgot t

Re: [uml-devel] [PATCH 6/19] UML - hppfs fixes

2008-04-26 Thread WANG Cong
From: Jeff Dike <[EMAIL PROTECTED]> Date: Fri, 25 Apr 2008 13:56:09 -0400 > hppfs tidying and fixes noticed during hch's get_inode work - > style fixes > a copy_to_user got its return value checked > hppfs_write no longer fiddles file->f_pos because it gets and > returns pos in it

Re: [uml-devel] [PATCH 7/19] UML - Move hppfs_kern.c to hppfs.c

2008-04-26 Thread WANG Cong
From: Jeff Dike <[EMAIL PROTECTED]> Date: Fri, 25 Apr 2008 13:56:09 -0400 > There's no reason for the _kern in hppfs_kern.c, so move it to hppfs.c. > > Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> > --- > fs/hppfs/Makefile |6 > fs/hppfs/hppfs.c | 771 > +++

Re: [uml-devel] [PATCH 9/19] UML - Tidy ptrace interface

2008-04-26 Thread WANG Cong
From: Jeff Dike <[EMAIL PROTECTED]> Date: Fri, 25 Apr 2008 13:56:10 -0400 > Tidy the ptrace interface code. Removed a bunch of unused macros. > Started converting register sets from arrays of longs to structures. Could you please explain a bit why do this? I think long arrary is OK. Thanks. Con

Re: [uml-devel] [PATCH 2/19] UML - Tidy stub management code

2008-04-26 Thread WANG Cong
From: Jeff Dike <[EMAIL PROTECTED]> Date: Fri, 25 Apr 2008 13:56:06 -0400 > Restructure the stub management code to make it simpler. > > syscall_stub_done is extracted from do_syscall_stub. > > The counters are gone since I never looked at them. > > The common code in run_syscall_stub and syscal

Re: [uml-devel] [PATCH 2/19] UML - Tidy stub management code

2008-04-29 Thread WANG Cong
On Mon, 28 Apr 2008, Jeff Dike wrote: > On Sat, Apr 26, 2008 at 06:01:12PM +0800, WANG Cong wrote: >> > + /* >> > + * When the stub stops, we find the following values on the >> > + * beginning of the stack: >> > + * (long) return_value >> >

Re: [uml-devel] [PATCH 6/19] UML - hppfs fixes

2008-04-29 Thread WANG Cong
On Mon, 28 Apr 2008, Jeff Dike wrote: > On Sat, Apr 26, 2008 at 04:31:32PM +0800, WANG Cong wrote: >> > + rem = copy_to_user(buf, &data->contents[off], count); >> > + *ppos += count - rem; >> > + if (rem > 0) >> > +

Re: [uml-devel] [PATCH 7/19] UML - Move hppfs_kern.c to hppfs.c

2008-04-29 Thread WANG Cong
On Mon, 28 Apr 2008, Jeff Dike wrote: > On Sat, Apr 26, 2008 at 05:17:55PM +0800, WANG Cong wrote: >> > +static struct inode *get_inode(struct super_block *, struct dentry *); >> > + >> > +struct hppfs_data { >> > + struct list_head list; >> > + c

Re: [uml-devel] [PATCH 9/19] UML - Tidy ptrace interface

2008-04-29 Thread WANG Cong
On Mon, 28 Apr 2008, Jeff Dike wrote: > On Sat, Apr 26, 2008 at 05:35:38PM +0800, WANG Cong wrote: >> From: Jeff Dike <[EMAIL PROTECTED]> >> Date: Fri, 25 Apr 2008 13:56:10 -0400 >> > Tidy the ptrace interface code. Removed a bunch of unused macros. >> >

[uml-devel] [Patch] (Resend) arch/um/kernel/irq.c: clean up some functions

2008-05-01 Thread WANG Cong
Make activate_fd() and free_irq_by_irq_and_dev() static. Remove init_aio_irq() since it has no users. Compile testing passed. Cc: Jeff Dike <[EMAIL PROTECTED]> Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- arch/um/include/irq_kern.h |2 -- arch/um/include/irq_user.h |

[uml-devel] [Patch] (Resend) arch/um/kernel/mem.c: remove arch_validate()

2008-05-01 Thread WANG Cong
Remove arch_validate(), because no one uses it. Remove useless macro HAVE_ARCH_VALIDATE. Make the variable 'empty_bad_page' static. Compile testing passed. Cc: Jeff Dike <[EMAIL PROTECTED]> Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- arch/um/kernel/ksyms.c |

[uml-devel] [Patch] (Resend) UML: make several more things static

2008-05-01 Thread WANG Cong
Make some variables and functions static, since they don't need to be global. Remove an unused function - arch/um/kernel/time.c::sched_clock(). Clean the style a bit as complained by checkpatch.pl. Cc: Jeff Dike <[EMAIL PROTECTED]> Signed-off-by: WANG Cong <[EMAIL PROTECTED]>

[uml-devel] [Patch] UML: Fix inconsistence due to tty_operation change

2008-05-01 Thread WANG Cong
'put_char' of 'struct tty_operations' has changed from 'void' into 'int'. This can also shut up comipler warnings. Cc: Jeff Dike <[EMAIL PROTECTED]> Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- diff --git a/arch/um/drivers/line.c b/arch/u

[uml-devel] [Patch] um: fix a build error

2008-07-21 Thread WANG Cong
/line.c:367: error: ‘struct tty_ldisc’ has no member named ‘write_wakeup’ make[2]: *** [arch/um/drivers/line.o] Error 1 make[1]: *** [arch/um/drivers] Error 2 make: *** [sub-make] Error 2 Sigend-off-by: WANG Cong <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] --- diff --git a/arch/um/drivers/line.c b/a

Re: [uml-devel] [Patch] um: fix a build error

2008-07-22 Thread WANG Cong
On Tue, Jul 22, 2008 at 11:53:54AM +0100, Alan Cox wrote: >> Signed-off-by: Eric Sesterhenn <[EMAIL PROTECTED]> >> >> --- linux-2.6/arch/um/drivers/line.c.orig2008-07-22 12:06:17.0 >> +0200 >> +++ linux-2.6/arch/um/drivers/line.c 2008-07-22 12:06:49.0 +0200 >> @@ -362,10 +362,

Re: [uml-devel] [Patch] um: fix a build error

2008-07-22 Thread WANG Cong
wakeup != NULL)) >> -(tty->ldisc.write_wakeup)(tty); >> - >> +if (test_bit(TTY_DO_WRITE_WAKEUP, &tty->flags)) >> +tty_wakeup(tty); > >Sorry I should have been clearer - you don't want the test_bit either. > What about the below on

[uml-devel] [Patch] uml: fix another build error

2008-07-22 Thread WANG Cong
-2.6/arch/um/drivers/vde_user.c:81: warning: assignment makes pointer from integer without a cast make[2]: *** [arch/um/drivers/vde_user.o] Error 1 make[1]: *** [arch/um/drivers/vde_user.ko] Error 2 make: *** [sub-make] Error 2 Signed-off-by: WANG Cong <[EMAIL PROTECTED]> Cc: [EMAIL PRO

[uml-devel] [Patch] UML build: fix missing posix_types.h

2008-07-31 Thread WANG Cong
l/bounds.c:9: /home/wangcong/Projects/linux-2.6/include/linux/types.h:12:23: error: asm/types.h: No such file or directory In file included from /home/wangcong/Projects/linux-2.6/include/linux/page-flags.h:8, Below patch fixed it, note, it is only tested for x86 and um. Signed-off-by: WANG Co

Re: [uml-devel] [PATCH 1/14] uml: fix build when SLOB is enabled

2008-08-05 Thread WANG Cong
ewhat >inconsistent API. > >Signed-off-by: Jeff Dike <[EMAIL PROTECTED]> >Cc: WANG Cong <[EMAIL PROTECTED]> >Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> >Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> Looks good. Thanks. :)

Re: [uml-devel] [patch] UML kernels on {i386, x86_64} produce bad coredumps

2011-01-25 Thread WANG Cong
kov > > P.S. Google has blanket FSF copyright assignment. > > > Signed-off-by: Paul Pluzhnikov > Acked-by: WANG Cong Thanks. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)