https://github.com/torvalds/linux
Revision 72e5525765ee01d72a9b92fab78ecea883ae7fdd authored by Paolo 'Blaisorblade' Giarrusso on 01 February 2006, 11:06:29 UTC, committed by Linus Torvalds on 01 February 2006, 16:53:23 UTC
      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>
1 parent 42947cb
History
Tip revision: 72e5525765ee01d72a9b92fab78ecea883ae7fdd authored by Paolo 'Blaisorblade' Giarrusso on 01 February 2006, 11:06:29 UTC
[PATCH] uml: avoid "CONFIG_NR_CPUS undeclared" bogus error messages
Tip revision: 72e5525
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 424 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.5 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 65.7 KB
Makefile -rw-r--r-- 43.8 KB
README -rw-r--r-- 15.1 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top