[uml-devel] [PATCH] uml: fix a section warning

2009-05-08 Thread Amerigo Wang
When I compiled uml on x86_64, I got this warning: MODPOST vmlinux.o WARNING: vmlinux.o (.__syscall_stub.2): unexpected non-allocatable section. Did you forget to use "ax"/"aw" in a .S file? Note that for example contains section definitions for use in .S files. Because modpost checks for mis

[uml-devel] [PATCH][Resend] uml: fix a section warning

2009-05-10 Thread Amerigo Wang
When I compiled uml on x86_64, I got this warning: MODPOST vmlinux.o WARNING: vmlinux.o (.__syscall_stub.2): unexpected non-allocatable section. Did you forget to use "ax"/"aw" in a .S file? Note that for example contains section definitions for use in .S files. Because modpost checks for mis

Re: [uml-devel] [PATCH 0/2] ptrace_vm: ptrace for syscall emulation virtual machines

2009-05-18 Thread Amerigo Wang
On Thu, Apr 30, 2009 at 04:27:11PM +0800, Américo Wang wrote: >On Sat, Apr 25, 2009 at 11:19:28AM +0200, Renzo Davoli wrote: > >> >>I have successfully tested my paches in various configurations: >>- patched-kernel running patched-UML >>- patched-kernel running unpatched-UML >>- patched-kernel runn

Re: [uml-devel] [PATCH] UML: Fix some apparent bitrot

2009-06-21 Thread Amerigo Wang
On Fri, Jun 19, 2009 at 05:55:24PM -0700, Paul Menage wrote: >UML: Fix some apparent bitrot > >- migration of net_device methods into net_device_ops >- dma_sync_single() changes >- cpumask_clear() -> cpumask_clear_cpu() > >Signed-off-by: Paul Menage Looks good. Acked-by: WANG Cong > >-- > >F

Re: [uml-devel] [PATCH] UML: Fix some apparent bitrot

2009-06-22 Thread Amerigo Wang
On Mon, Jun 22, 2009 at 11:43:52AM +0300, Boaz Harrosh wrote: > >Stephan hi. > >The above breakage is the usual stuff we get every merge window. With people >doing >cross arch work and neglecting UML. > >Who is the person or people responsible for the large linux-next compilation >rig? >Is it pos

Re: [uml-devel] [PATCH] UML: Fix some apparent bitrot

2009-06-25 Thread Amerigo Wang
On Wed, Jun 24, 2009 at 03:23:02PM +0300, Boaz Harrosh wrote: >On 06/22/2009 05:46 AM, Amerigo Wang wrote: >> On Fri, Jun 19, 2009 at 05:55:24PM -0700, Paul Menage wrote: >>> UML: Fix some apparent bitrot >>> >>> - migration of net_device methods into

Re: [uml-devel] [PATCH] UML: Fix some apparent bitrot

2009-06-25 Thread Amerigo Wang
On Mon, Jun 22, 2009 at 08:52:26PM +1000, Stephen Rothwell wrote: >Hi Amerigo, > >On Mon, 22 Jun 2009 16:57:35 +0800 Amerigo Wang >wrote: >> >> Stephan, could you please also do compiling tests for UML in your -next tree? >> >> Thanks! > >I would be h

Re: [uml-devel] [PATCH] UML: Fix some apparent bitrot

2009-06-25 Thread Amerigo Wang
On Thu, Jun 25, 2009 at 11:08:58AM +0300, Boaz Harrosh wrote: >On 06/25/2009 11:06 AM, Paul Menage wrote: >> On Thu, Jun 25, 2009 at 12:57 AM, Boaz Harrosh wrote: >>> Paul? we did not receive any feedback from you >> >> I split it out into two patches and sent them about an hour ago. (One >> for

Re: [uml-devel] [PATCH 17/44] includecheck fix: um, helper.c

2009-07-10 Thread Amerigo Wang
On Wed, Jul 08, 2009 at 08:25:50PM +0530, Jaswinder Singh Rajput wrote: > >fix the following 'make includecheck' warning: > > arch/um/os-Linux/helper.c: linux/limits.h is included more than once. > >Signed-off-by: Jaswinder Singh Rajput >--- > arch/um/os-Linux/helper.c |1 - > 1 files changed,

Re: [uml-devel] [PATCH] um: minor Makefile simplification through use of cc-ifversion

2009-07-24 Thread Amerigo Wang
On Thu, Jul 23, 2009 at 11:30:02PM +0200, Sam Ravnborg wrote: >On Thu, Jul 23, 2009 at 08:57:51PM +0200, Frans Pop wrote: >> Signed-off-by: Frans Pop >Acked-by: Sam Ravnborg Acked-by: WANG Cong > >If this patch is not pisked up by anyone else I will take it in kbuild.git. Thanks. ---

Re: [uml-devel] [PATCH 1/5] uml: Remove unused variable from line driver

2010-04-20 Thread Amerigo Wang
On Mon, Apr 19, 2010 at 11:53:04PM +0200, Jan Kiszka wrote: >Signed-off-by: Jan Kiszka Acked-by: WANG Cong >--- > arch/um/drivers/line.c |1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > >diff --git a/arch/um/drivers/line.c b/arch/um/drivers/line.c >index 7a656bd..7f7338c 100644 >

Re: [uml-devel] [PATCH 2/5] uml: Drop private round_down definition

2010-04-20 Thread Amerigo Wang
On Mon, Apr 19, 2010 at 11:53:05PM +0200, Jan Kiszka wrote: >Already defined in kernel.h. The official version assumes that 'n' is >power of two - which it is in our case. > >Signed-off-by: Jan Kiszka >--- > arch/um/sys-x86_64/signal.c |2 -- > 1 files changed, 0 insertions(+), 2 deletions(-) >

Re: [uml-devel] [PATCH 4/5] uml: i386: Avoid redefinition of NR_syscalls

2010-04-20 Thread Amerigo Wang
On Mon, Apr 19, 2010 at 11:53:07PM +0200, Jan Kiszka wrote: >The i386 subarch happens to pull in original NR_syscalls. Maybe we can >make that work for all host arch, but for now just avoid the clash by >using an all-upper-case name. > Where? >Signed-off-by: Jan Kiszka >--- > arch/um/kernel/ska

Re: [uml-devel] [PATCH 3/5] uml: Fix warning due to missing task_struct declaration

2010-04-20 Thread Amerigo Wang
On Mon, Apr 19, 2010 at 11:53:06PM +0200, Jan Kiszka wrote: >We can't pull in linux/sched.h, so just declare the struct. > Did you meet any build error? If yes, please include it. Thanks. >Signed-off-by: Jan Kiszka >--- > arch/um/sys-i386/asm/elf.h |2 ++ > arch/um/sys-x86_64/asm/elf.h |

Re: [uml-devel] [PATCH 5/5] uml: Clean up asm/system.h

2010-04-20 Thread Amerigo Wang
On Mon, Apr 19, 2010 at 11:53:08PM +0200, Jan Kiszka wrote: >Remove duplicates and unused prototypes. > >Signed-off-by: Jan Kiszka Acked-by: WANG Cong >--- > arch/um/include/asm/system.h |3 --- > 1 files changed, 0 insertions(+), 3 deletions(-) > >diff --git a/arch/um/include/asm/system.h

Re: [uml-devel] [PATCH 3/5] uml: Fix warning due to missing task_struct declaration

2010-04-20 Thread Amerigo Wang
On Tue, Apr 20, 2010 at 07:09:15PM +0200, Jan Kiszka wrote: >Jeff Dike wrote: >> On Tue, Apr 20, 2010 at 06:09:49PM +0800, Amerigo Wang wrote: >>> On Mon, Apr 19, 2010 at 11:53:06PM +0200, Jan Kiszka wrote: >>>> We can't pull in linux/sched.h, so just declare th

Re: [uml-devel] [PATCH 4/5] uml: i386: Avoid redefinition of NR_syscalls

2010-04-20 Thread Amerigo Wang
On Tue, Apr 20, 2010 at 07:14:43PM +0200, Jan Kiszka wrote: >Amerigo Wang wrote: >> On Mon, Apr 19, 2010 at 11:53:07PM +0200, Jan Kiszka wrote: >>> The i386 subarch happens to pull in original NR_syscalls. Maybe we can >>> make that work for all host arch, but for

Re: [uml-devel] [PATCH 3/5] uml: Fix warning due to missing task_struct declaration

2010-04-21 Thread Amerigo Wang
On Wed, Apr 21, 2010 at 11:38:53AM +0200, Jiri Kosina wrote: >On Wed, 21 Apr 2010, Amerigo Wang wrote: >> >> BTW, I don't think compile warning fixes are trivial enough to go >> to triv...@kernel.org. > >Why? > Usually compile warnings fixes go in