linux-stable-rt/arch/um/kernel
Paolo 'Blaisorblade' Giarrusso 72e5525765 [PATCH] uml: avoid "CONFIG_NR_CPUS undeclared" bogus error messages
Olaf Hering <olh@suse.de>

Olaf reported UML doesn't build for him with a clear analisys of what happened
- we're using NR_CPUS in files linked against glibc headers.  Seems like it
defines CONFIG_SMP but not CONFIG_NR_CPUS, so we get CONFIG_NR_CPUS
undeclared.

The fix is to move the declaration away from that header file and move it in
asm-um headers, and to add that header where needed.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-02-01 08:53:23 -08:00
..
skas [PATCH] uml: move libc-dependent skas process handling 2006-01-18 19:20:19 -08:00
tt [PATCH] uml: TT - SYSCALL_DEBUG - fix buglet introduced in cleanup 2006-02-01 08:53:22 -08:00
Makefile [PATCH] uml: move libc-dependent time code 2006-01-18 19:20:19 -08:00
asm-offsets.c
config.c.in
dyn.lds.S
exec_kern.c [PATCH] uml: some harmless sparse warning fixes 2006-02-01 08:53:23 -08:00
exitcode.c
gmon_syms.c
gprof_syms.c
init_task.c
initrd.c
irq.c
irq_user.c
ksyms.c
mem.c
physmem.c [PATCH] uml: fix "apples/bananas" typo 2006-02-01 08:53:22 -08:00
process_kern.c [PATCH] uml: avoid malloc to sleep in atomic sections 2006-01-18 19:20:21 -08:00
ptrace.c
reboot.c [PATCH] uml: avoid "CONFIG_NR_CPUS undeclared" bogus error messages 2006-02-01 08:53:23 -08:00
resource.c
sigio_kern.c
sigio_user.c [PATCH] uml: sigio code - reduce spinlock hold time 2006-01-18 19:20:21 -08:00
signal_kern.c [PATCH] uml: use generic sys_rt_sigsuspend 2006-01-18 19:20:30 -08:00
smp.c
syscall.c [PATCH] uml: move libc-dependent time code 2006-01-18 19:20:19 -08:00
syscall_kern.c
sysrq.c
time.c
time_kern.c [PATCH] uml: TT mode softint fixes 2006-01-18 19:20:20 -08:00
tlb.c
trap_kern.c
tty_log.c
uaccess.c
um_arch.c
umid.c
uml.lds.S
vmlinux.lds.S