Re: [uml-devel] arch/um/include/kern_util.h:35: error: 'CONFIG_NR_CPUS' undeclared

2006-01-18 Thread Olaf Hering
On Tue, Jan 17, Olaf Hering wrote: > arch/um/os-Linux/sys-i386/registers.c: In function 'get_thread_regs': > arch/um/os-Linux/sys-i386/registers.c:134: error: 'JB_PC' undeclared (first > use in this function) > arch/um/os-Linux/sys-i386/registers.c:134: error: (

Re: [uml-devel] arch/um/include/kern_util.h:35: error: 'CONFIG_NR_CPUS' undeclared

2006-01-17 Thread Olaf Hering
On Tue, Jan 17, Blaisorblade wrote: > Disable CONFIG_SMP, it doesn't work well anyway, however thanks for the > report. Some of the libc headers my define it, its not enabled in the kernel .config. The patch gets me further, thanks. Next error is: arch/um/os-Linux/sys-i386/registers.c: In func

[uml-devel] arch/um/include/kern_util.h:35: error: 'CONFIG_NR_CPUS' undeclared

2006-01-16 Thread Olaf Hering
Current Linus tree does not compile for me: girgendwas:~/linux-2.6.15$ gcc -Wp,-MD,arch/um/drivers/.chan_user.o.d -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os -fomit-frame-pointer -D__arch_um__ -DSUBARCH=\"i386\" -Dvmap=kernel_vmap -Din6