72e5525765
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> |
||
---|---|---|
.. | ||
skas | ||
tt | ||
asm-offsets.c | ||
config.c.in | ||
dyn.lds.S | ||
exec_kern.c | ||
exitcode.c | ||
gmon_syms.c | ||
gprof_syms.c | ||
init_task.c | ||
initrd.c | ||
irq_user.c | ||
irq.c | ||
ksyms.c | ||
Makefile | ||
mem.c | ||
physmem.c | ||
process_kern.c | ||
ptrace.c | ||
reboot.c | ||
resource.c | ||
sigio_kern.c | ||
sigio_user.c | ||
signal_kern.c | ||
smp.c | ||
syscall_kern.c | ||
syscall.c | ||
sysrq.c | ||
time_kern.c | ||
time.c | ||
tlb.c | ||
trap_kern.c | ||
tty_log.c | ||
uaccess.c | ||
um_arch.c | ||
umid.c | ||
uml.lds.S | ||
vmlinux.lds.S |