android_kernel_xiaomi_sm8350/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
asm-offsets.c [PATCH] uml: fix missing KBUILD_BASENAME 2006-01-11 18:42:09 -08:00
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_user.c [PATCH] uml: move libc-dependent code from signal_user.c 2006-01-08 20:13:39 -08:00
irq.c
ksyms.c
Makefile [PATCH] uml: move libc-dependent time code 2006-01-18 19:20:19 -08:00
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_kern.c
syscall.c [PATCH] uml: move libc-dependent time code 2006-01-18 19:20:19 -08:00
sysrq.c
time_kern.c [PATCH] uml: TT mode softint fixes 2006-01-18 19:20:20 -08:00
time.c [PATCH] hrtimer: convert posix timers completely 2006-01-10 08:01:39 -08:00
tlb.c
trap_kern.c [PATCH] uml: merge trap_user.c and trap_kern.c 2006-01-08 20:13:39 -08:00
tty_log.c
uaccess.c
um_arch.c [PATCH] uml: revert compile-time option checking 2006-01-11 18:42:09 -08:00
umid.c [PATCH] uml: umid cleanup 2006-01-06 08:33:47 -08:00
uml.lds.S
vmlinux.lds.S