android_kernel_xiaomi_sm7250/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 return statement cleanup - kill pointless parentheses 2006-01-15 02:37:08 +01:00
sysdep-ia64
sysdep-ppc
sysdep-x86_64 [PATCH] uml: fix missing KBUILD_BASENAME 2006-01-11 18:42:09 -08:00
tt [PATCH] uml: move headers to arch/um/include 2006-01-18 19:20:19 -08:00
aio.h
chan_kern.h [PATCH] uml: Add throttling to console driver 2006-01-06 08:33:46 -08:00
chan_user.h
choose-mode.h [PATCH] uml: better diagnostics for broken configs 2006-01-06 08:33:47 -08:00
common-offsets.h
elf_user.h
frame_kern.h
init.h
initrd.h
irq_kern.h
irq_user.h [PATCH] uml: Simplify console opening/closing and irq registration 2006-01-06 08:33:46 -08:00
kern_util.h [PATCH] uml: avoid "CONFIG_NR_CPUS undeclared" bogus error messages 2006-02-01 08:53:23 -08:00
kern.h [PATCH] uml: separate libc-dependent umid code 2006-01-06 08:33:47 -08:00
line.h [PATCH] uml: Add throttling to console driver 2006-01-06 08:33:46 -08:00
longjmp.h [PATCH] uml: use setjmp/longjmp instead of sigsetjmp/siglongjmp 2006-01-18 19:20:20 -08:00
mconsole_kern.h
mconsole.h [PATCH] uml: add mconsole_reply variant with length param 2006-01-06 08:33:47 -08:00
mem_kern.h
mem_user.h
mem.h
mode_kern.h [PATCH] uml: move headers to arch/um/include 2006-01-18 19:20:19 -08:00
mode.h
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 [PATCH] uml: fix compile error for tt 2005-12-12 08:57:43 -08:00
umid.h
uml_uaccess.h
user_util.h [PATCH] uml: move libc-dependent utility procedures 2006-01-18 19:20:19 -08:00
user.h [PATCH] uml: avoid malloc to sleep in atomic sections 2006-01-18 19:20:21 -08:00