Re: [uml-devel] actually useful backtrace from a CPU-chewing hang

2008-05-01 Thread Jeff Dike
On Wed, Apr 30, 2008 at 10:49:27PM +0100, Nix wrote: > Done, and tested by stepping the time (five seconds --- five seconds per > day! I have pendulum clocks that keep better time than that!), and, > oops, instant loop as before, with this debugging patch applied, which > did not fire... Hmmm. I

Re: [uml-devel] arch/um/Makefile:100: *** missing separator. Stop.

2008-05-01 Thread Jeff Dike
On Thu, May 01, 2008 at 07:35:32AM +0800, Peter Teoh wrote: > /mnt/hd0/download/linux-2.6-latest>make -v > GNU Make 3.81 > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. > There is NO warranty; not even for MERCHANTABILITY or FITNE

Re: [uml-devel] arch/um/Makefile:100: *** missing separator. Stop.

2008-05-01 Thread Peter Teoh
On Thu, May 1, 2008 at 11:15 PM, Jeff Dike <[EMAIL PROTECTED]> wrote: > On Thu, May 01, 2008 at 07:35:32AM +0800, Peter Teoh wrote: > > /mnt/hd0/download/linux-2.6-latest>make -v > > GNU Make 3.81 > > Copyright (C) 2006 Free Software Foundation, Inc. > > This is free software; see the source f

Re: [uml-devel] arch/um/Makefile:100: *** missing separator. Stop.

2008-05-01 Thread Peter Teoh
In case if anyone is wondering what this line 107 means in the arch/um/Makefile: 104 ifneq ($(KBUILD_SRC),) 105 $(shell mkdir -p $(ARCH_DIR) && ln -fsn $(srctree)/$(ARCH_DIR)/Kconfig.$(SUBARCH) $(ARCH_DIR)/Kconfig.arch) 106 else 107 $(shell cd $(ARCH_DIR) && ln -sf Kconfig.$(SUBARC

Re: [uml-devel] actually useful backtrace from a CPU-chewing hang

2008-05-01 Thread Nix
On 1 May 2008, Jeff Dike outgrape: > On Wed, Apr 30, 2008 at 10:49:27PM +0100, Nix wrote: >> Done, and tested by stepping the time (five seconds --- five seconds per >> day! I have pendulum clocks that keep better time than that!), and, >> oops, instant loop as before, with this debugging patch ap

[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 |2 -- arch/u

[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 |1 - arch/um/kernel/mem.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]> --- arch/um/in

[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/um/drivers/line.c index 10b86e1..5047490 100644 --- a/