linux-stable-rt/arch/um/include
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
sysdep-i386
sysdep-ia64
sysdep-ppc
sysdep-x86_64
tt [PATCH] uml: move headers to arch/um/include 2006-01-18 19:20:19 -08:00
aio.h
chan_kern.h
chan_user.h
choose-mode.h
common-offsets.h
elf_user.h
frame_kern.h
init.h
initrd.h
irq_kern.h
irq_user.h
kern.h
kern_util.h [PATCH] uml: avoid "CONFIG_NR_CPUS undeclared" bogus error messages 2006-02-01 08:53:23 -08:00
line.h
longjmp.h [PATCH] uml: use setjmp/longjmp instead of sigsetjmp/siglongjmp 2006-01-18 19:20:20 -08:00
mconsole.h
mconsole_kern.h
mem.h
mem_kern.h
mem_user.h
mode.h
mode_kern.h [PATCH] uml: move headers to arch/um/include 2006-01-18 19:20:19 -08:00
net_kern.h
net_user.h
os.h [PATCH] uml: move libc-dependent skas process handling 2006-01-18 19:20:19 -08:00
process.h
ptrace_user.h
registers.h
sigcontext.h
sigio.h
signal_kern.h
skas_ptrace.h
skas_ptregs.h
syscall.h
sysrq.h
task.h
tempfile.h
tlb.h
ubd_user.h
um_mmu.h
um_uaccess.h
umid.h
uml_uaccess.h
user.h [PATCH] uml: avoid malloc to sleep in atomic sections 2006-01-18 19:20:21 -08:00
user_util.h [PATCH] uml: move libc-dependent utility procedures 2006-01-18 19:20:19 -08:00