[uml-devel] [2.6 patch] UML: remove the dead TTY_LOG code

2008-07-28 Thread Adrian Bunk
This patch removes the dead CONFIG_TTY_LOG (no kconfig option). Reported-by: Robert P. J. Day <[EMAIL PROTECTED]> Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- This patch has been sent on: - 21 May 2008 arch/um/kernel/exec.c | 12 -- arch/um/os-Linux/Makefile |3

Re: [uml-devel] [PATCH] fix extern inline errors with gcc 4.3.0

2008-06-30 Thread Adrian Bunk
On Mon, Jun 30, 2008 at 12:22:01PM -0400, Jeff Dike wrote: > On Sun, Jun 29, 2008 at 10:32:43AM +0300, Benny Halevy wrote: > > Note that the crash happened with gcc 4.1.2 and it will get the > > -fno-unit-at-a-time flag with the proposed patch. > > > > That said, this option or the lack of it ough

[uml-devel] [2.6 patch] UML: remove the dead TTY_LOG code

2008-05-20 Thread Adrian Bunk
This patch removes the dead CONFIG_TTY_LOG (no kconfig option). Reported-by: Robert P. J. Day <[EMAIL PROTECTED]> Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- arch/um/kernel/exec.c | 12 -- arch/um/os-Linux/Makefile |3 arch/um/os-Linux/tty_

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

2008-05-02 Thread Adrian Bunk
[ Alan as tty maintainer added to Cc ] On Fri, May 02, 2008 at 02:59:46PM +0800, WANG Cong wrote: > > 'put_char' of 'struct tty_operations' has changed from 'void' into 'int'. > This can also shut up comipler warnings. Not only, this could also be a runtime error. > Cc: Jeff Dike <[EMAIL PROTECT

[uml-devel] [2.6 patch] remove include/asm-um/keyboard.h

2008-03-30 Thread Adrian Bunk
This patch removes the unused and broken (the normal asm/keyboard.h files no longer exists) include/asm-um/keyboard.h Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- include/asm-um/keyboard.h |6 -- 1 file changed, 6 deletions(-) bd6cdb1ee8faecc525ce49b25115f2ca21be8981 diff

Re: [uml-devel] uml compile error

2008-02-13 Thread Adrian Bunk
On Wed, Feb 13, 2008 at 11:24:31PM +0100, Rafael J. Wysocki wrote: > On Friday, 8 of February 2008, Adrian Bunk wrote: > > Commit dd2cc4dff3b08ab54c4c177a080046bcc84ac41d broke uml: > > > > <-- snip --> > > > > ... > > CC fs/hostfs/hostfs_ker

Re: [uml-devel] uml compile error

2008-02-08 Thread Adrian Bunk
On Sat, Feb 09, 2008 at 01:05:15AM +0100, Jiri Kosina wrote: > On Sat, 9 Feb 2008, Adrian Bunk wrote: > > > Commit dd2cc4dff3b08ab54c4c177a080046bcc84ac41d broke uml: > > <-- snip --> > > ... > > CC fs/hostfs/hostfs_kern.o > > /home/bun

[uml-devel] uml compile error

2008-02-08 Thread Adrian Bunk
Commit dd2cc4dff3b08ab54c4c177a080046bcc84ac41d broke uml: <-- snip --> ... CC fs/hostfs/hostfs_kern.o /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/hostfs/hostfs_kern.c: In function ‘hostfs_show_options’: /home/bunk/linux/kernel-2.6/git/linux-2.6/fs/hostfs/hostfs_kern.c:328: error: dere

Re: [uml-devel] uml and -regparm=3

2008-01-09 Thread Adrian Bunk
On Wed, Jan 09, 2008 at 10:20:49PM +0100, Miklos Szeredi wrote: > > Miklos Szeredi <[EMAIL PROTECTED]> writes: > > > > > FASTCALL is defined empty in -mm, but UML is not compiled with > > > -mregparm=3 and so this breaks things (I noticed problems with > > > rwsem_down_write_failed). > > > > > > T

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

2007-10-23 Thread Adrian Bunk
On Tue, Oct 23, 2007 at 04:47:10PM +0200, Ingo Molnar wrote: > > * Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > > > Ingo Molnar wrote: > > > * Andi Kleen <[EMAIL PROTECTED]> wrote: > > > > > > > > You should rename it then to "asmcall" or something. > > > > >>> if then t

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

2007-10-23 Thread Adrian Bunk
On Tue, Oct 23, 2007 at 10:45:46AM +0200, Ingo Molnar wrote: > > * Jeremy Fitzhardinge <[EMAIL PROTECTED]> wrote: > > > >> Should we re-add them for the function pointers in > > >> asm-x86/paravirt.h? > > > > > > yes, yes, yes. :-) It was a nightmare to sort it out in -rt (and > > > still is).

Re: [uml-devel] [1/4] 2.6.23-rc6: known regressions

2007-09-12 Thread Adrian Bunk
On Wed, Sep 12, 2007 at 06:58:46PM +0200, Michal Piotrowski wrote: > Hi all, >... > Subject : uml on x86_64 compile error > References : http://lkml.org/lkml/2007/9/3/86 > Last known good : ? > Submitter : Adrian Bunk <[EMAIL PROTECTED]> > Caused-B

[uml-devel] 2.6.23-rc5 regression: uml on x86_64 compile error

2007-09-03 Thread Adrian Bunk
Commit d1254b12c93e1e586137a2ffef71fd33cf273f35 causes the following compile error (found at [1]): <-- snip --> ... CC fs/binfmt_elf.o In file included from fs/binfmt_elf.c:30: include/linux/elfcore.h: In function ‘elf_core_copy_regs’: include/linux/elfcore.h:103: error: ‘union uml_pt_reg

[uml-devel] [2.6 patch] rename .i assembler includes to .h

2007-08-29 Thread Adrian Bunk
On Mon, Aug 20, 2007 at 02:16:46AM +0200, Andi Kleen wrote: > On Mon, Aug 20, 2007 at 01:01:36AM +0200, Adrian Bunk wrote: > > On Wed, Aug 01, 2007 at 09:10:37PM +0200, Adrian Bunk wrote: > > > On Wed, Aug 01, 2007 at 11:07:53PM +0400, Alexey Dobriyan wrote: > > > >

Re: [uml-devel] [PATCH 1/6] UML - Fix inlines

2007-08-20 Thread Adrian Bunk
On Mon, Aug 20, 2007 at 12:40:30PM -0700, Andrew Morton wrote: > On Fri, 17 Aug 2007 15:43:40 -0400 > Jeff Dike <[EMAIL PROTECTED]> wrote: > > > "extern inline" will have different semantics with gcc 4.3. > > What are these different semantics? With gcc <= 4.2, when using "extern inline" in no c

[uml-devel] [2.6 patch] UML: "extern inline" -> "static inline"

2007-08-14 Thread Adrian Bunk
"extern inline" will have different semantics with gcc 4.3. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- include/asm-um/pgalloc.h |2 +- include/asm-um/pgtable-3level.h |2 +- include/asm-um/processor-x86_64.h |2 +- include/asm-um/smp.h

Re: [uml-devel] RFC: UML: remove MODE_TT?

2007-07-28 Thread Adrian Bunk
On Tue, Dec 12, 2006 at 11:18:37PM -0500, Jeff Dike wrote: > On Wed, Dec 13, 2006 at 12:35:33AM +0100, Adrian Bunk wrote: > > MODE_TT is both marked as deprecated and marked as BROKEN. > > > > Would a patch to remove MODE_TT, always enable MODE_SKAS, and doing all > &

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

2007-01-14 Thread Adrian Bunk
On Wed, Jan 10, 2007 at 12:43:18AM +0100, Blaisorblade wrote: > On Saturday 06 January 2007 00:52, Adrian Bunk wrote: > > FYI: > > I've applied the patch below to the 2.6.16 tree to fix the UML > > compilation on systems with recent kernel headers. > > > > Ple

[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

[uml-devel] [2.6 patch] remove duplicate MMAPPER Kconfig option

2007-01-04 Thread Adrian Bunk
This option is already in arch/um/Kconfig.char Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- linux-2.6.20-rc2-mm1/drivers/block/Kconfig.old 2007-01-04 17:43:51.0 +0100 +++ linux-2.6.20-rc2-mm1/drivers/block/Kconfig 2007-01-04 17:44:19.0 +0100 @@ -236,23

[uml-devel] RFC: UML: remove MODE_TT?

2006-12-12 Thread Adrian Bunk
MODE_TT is both marked as deprecated and marked as BROKEN. Would a patch to remove MODE_TT, always enable MODE_SKAS, and doing all possible cleanups after this be accepted? cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been

Re: [uml-devel] UML and fastcall/FASTCALL

2006-12-08 Thread Adrian Bunk
On Fri, Dec 08, 2006 at 11:33:04AM -0500, Jeff Dike wrote: > On Fri, Dec 08, 2006 at 01:59:28PM +0100, Adrian Bunk wrote: > > UML on i386 is now the only case where fastcall/FASTCALL is not a noop. > > If i386 doesn't use it any more, then UML shouldn't either. The only

[uml-devel] UML and fastcall/FASTCALL

2006-12-08 Thread Adrian Bunk
UML on i386 is now the only case where fastcall/FASTCALL is not a noop. There are two use cases for fastcall/FASTCALL in UML on i386: 1. optimization for C code A faster calling convention is used for the functions annotated this way. 2. interfacing with assembler code But include/asm-um/linka

Re: [uml-devel] arch/um/sys-i386/setjmp.S: useless #ifdef _REGPARM's?

2006-08-22 Thread Adrian Bunk
On Tue, Aug 22, 2006 at 01:42:33PM -0400, Jeff Dike wrote: > On Tue, Aug 22, 2006 at 06:07:41PM +0200, Adrian Bunk wrote: > > I didn't find a corresponding open bug in the gcc Bugzilla. > > > > Can someone verify whether it's still present, and if yes, open a gc

Re: [uml-devel] arch/um/sys-i386/setjmp.S: useless #ifdef _REGPARM's?

2006-08-22 Thread Adrian Bunk
On Mon, Aug 21, 2006 at 10:20:12PM -0400, Jeff Dike wrote: > On Mon, Aug 21, 2006 at 11:56:41PM +0200, Adrian Bunk wrote: > > arch/um/sys-i386/setjmp.S contains two #ifdef _REGPARM's. > > > > Even if regparm was used in i386 uml (which isn't currently done (why?)),

[uml-devel] arch/um/sys-i386/setjmp.S: useless #ifdef _REGPARM's?

2006-08-21 Thread Adrian Bunk
arch/um/sys-i386/setjmp.S contains two #ifdef _REGPARM's. Even if regparm was used in i386 uml (which isn't currently done (why?)), I don't see _REGPARM being defined anywhere. Is this a bug waiting for happening when regparm will be used on uml or do I miss anything? cu Adrian -- Gentoo

[uml-devel] [RFC: 2.6 patch] fix the INIT_ENV_ARG_LIMIT dependencies

2006-06-29 Thread Adrian Bunk
This patch fixes the INIT_ENV_ARG_LIMIT dependencies to what seems to have been intended. Spotted by Jean-Luc Leger. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Acked-by: Paolo 'Blaisorblade' Giarrusso <[EMAIL PROTECTED]> --- This patch was already sent on: - 15 Apr

[uml-devel] [RFC: 2.6 patch] fix the INIT_ENV_ARG_LIMIT dependencies

2006-04-15 Thread Adrian Bunk
This patch fixes the INIT_ENV_ARG_LIMIT dependencies to what seems to have been intended. Spotted by Jean-Luc Leger. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- linux-2.6.17-rc1-mm2-full/init/Kconfig.old 2006-04-15 16:26:46.0 +0200 +++ linux-2.6.17-rc1-mm2-full/init/K

[uml-devel] Re: [2.6 patch] UML - Prevent MODE_SKAS=n and MODE_TT=n

2006-01-06 Thread Adrian Bunk
On Fri, Jan 06, 2006 at 11:39:48AM -0500, Jeff Dike wrote: > On Fri, Jan 06, 2006 at 01:44:38PM +0100, Adrian Bunk wrote: > > If MODE_TT=n, MODE_SKAS must be y. > > > > > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> > > Great. Now, how do you simulta

[uml-devel] [2.6 patch] UML - Prevent MODE_SKAS=n and MODE_TT=n

2006-01-06 Thread Adrian Bunk
t; Is there no sane way to prevent this situation within Kconfig? > > I tried. The best I managed was to get *config to moan about circular > dependencies. The patch below implements this in Kconfig. > Jeff cu Adrian <-- snip --> If MODE_TT=n,

Re: [uml-devel] Re: [patch 1/6] uml: remove elf.h [ compile-fix, for 2.6.12 ]

2005-05-10 Thread Adrian Bunk
On Tue, May 10, 2005 at 03:37:33PM +0200, Henrik Nordstrom wrote: >... > The /dev/null trick only works well for adding files, not removing them. It works fine for removing files except when they have a zero length. > Regards > Henrik cu Adrian -- "Is there not promise of rain?" Ling T

[uml-devel] Re: [PATCH 4/9] UML - Export gcov symbol based on gcc version

2005-03-11 Thread Adrian Bunk
On Fri, Mar 11, 2005 at 06:53:15PM -0500, Jeff Dike wrote: > [EMAIL PROTECTED] said: > > And therefore you added a patch that helps only those distros at the > > price of breaking other people and distros using sane compilers? > > Didn't you start this thread by pointing out that SuSE has a gcc 3

[uml-devel] Re: [PATCH 4/9] UML - Export gcov symbol based on gcc version

2005-03-11 Thread Adrian Bunk
On Fri, Mar 11, 2005 at 01:48:54PM -0500, Jeff Dike wrote: > [EMAIL PROTECTED] said: > > This patch is still wrong. > > It seems my comment on this [1] was lost: > > <-- snip --> > > This line has to be something like > > ( (__GNUC__ == 3 && __GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ >= 4) > > &&

[uml-devel] Re: [PATCH 4/9] UML - Export gcov symbol based on gcc version

2005-03-10 Thread Adrian Bunk
On Wed, Mar 09, 2005 at 09:16:02PM -0500, Jeff Dike wrote: > The init function called by gcc when gcov is enabled is __gcov_init or > __bb_init_func, depending on the gcc version. Anton is using 3.3.4 and > seeing __gcov_init. I'm using 3.3.2 and seeing __bb_init_func, so we need > to close that

[uml-devel] [-mm patch] one DEBUG_INFO is enough for everyone

2005-03-06 Thread Adrian Bunk
Why does everyone think one DEBUG_INFO wasn't enough? Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> --- arch/arm/Kconfig.debug |9 - arch/arm26/Kconfig.debug | 10 -- arch/i386/Kconfig.kgdb |5 - arch/x86_64/Kconfig.kgdb |5 - lib/Kc

[uml-devel] Re: Partial fix! - Was: Re: [BUG report] UML linux-2.6 latest BK doesn't compile

2005-03-05 Thread Adrian Bunk
On Sat, Mar 05, 2005 at 02:45:18PM -0500, Jeff Dike wrote: > [EMAIL PROTECTED] said: > > Yes. I finally found a way to get it to compile. Compiling without > > TT mode and WITHOUT static build it still fails with the same problem > > (__bb_init_func problem I already reported). But compiling wit

[uml-devel] [2.6 patch] (mostly i386) mm cleanup (fwd)

2005-01-15 Thread Adrian Bunk
The patch forwarded below (already ACK'ed by David Howells) still applies and compiles against 2.6.11-rc1-mm1. Please apply. - Forwarded message from Adrian Bunk <[EMAIL PROTECTED]> - Date: Sun, 12 Dec 2004 03:10:56 +0100 From: Adrian Bunk <[EMAIL PROTECTED]> To: Da