android_kernel_xiaomi_sm8350/include/asm-um
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
..
a.out.h
apic.h
archparam-i386.h
archparam-ppc.h
archparam-x86_64.h
atomic.h
auxvec.h [PATCH] auxiliary vector cleanups 2005-09-07 16:57:21 -07:00
bitops.h
boot.h
bug.h
bugs.h
byteorder.h
cache.h [PATCH] Kill L1_CACHE_SHIFT_MAX 2006-01-08 20:13:39 -08:00
cacheflush.h
calling.h
checksum.h
cobalt.h
common.lds.S
cpufeature.h
cputime.h
current.h
delay.h
desc.h
div64.h
dma-mapping.h [PATCH] gfp_t: dma-mapping (simple cases) 2005-10-28 08:16:49 -07:00
dma.h
dwarf2.h
elf-i386.h
elf-ppc.h
elf-x86_64.h
emergency-restart.h [PATCH] Add emergency_restart() 2005-07-26 14:35:41 -07:00
errno.h
fcntl.h
fixmap.h
floppy.h
futex.h [PATCH] consolidate asm/futex.h 2006-01-08 20:13:39 -08:00
hardirq.h
highmem.h
hw_irq.h
ide.h
io.h [PATCH] uml: add __raw_writel definition 2006-01-18 19:20:18 -08:00
ioctl.h
ioctls.h
ipc.h
ipcbuf.h
irq_vectors.h
irq.h
keyboard.h
kmap_types.h
ldt-i386.h [PATCH] uml: eliminate anonymous union and clean up symlink lossage 2005-11-22 09:13:41 -08:00
ldt-x86_64.h [PATCH] uml: skas0-hold-own-ldt fixups for x86-64 2006-02-01 08:53:23 -08:00
linkage.h [PATCH] uml: remove old UM_FASTCALL, and make the thing work again 2005-10-30 17:37:16 -08:00
local.h
locks.h
mca_dma.h
mman.h
mmu_context.h [PATCH] uml: switch_mm fix 2005-11-07 07:53:31 -08:00
mmu.h
module-generic.h
module-i386.h
module-x86_64.h
msgbuf.h
mtrr.h
mutex.h [PATCH] mutex subsystem, add default include/asm-*/mutex.h files 2006-01-09 15:59:19 -08:00
namei.h
page_offset.h
page.h [PATCH] gfp_t: remaining bits of arch/* 2005-10-28 08:16:51 -07:00
param.h
pci.h
pda.h
percpu.h
pgalloc.h [PATCH] uml: fix x86_64 page leak 2005-09-05 00:06:24 -07:00
pgtable-2level.h [PATCH] uml: merge duplicated page table code 2005-09-05 00:06:22 -07:00
pgtable-3level.h [PATCH] uml: fix x86_64 page leak 2005-09-05 00:06:24 -07:00
pgtable.h [PATCH] mm: pte_offset_map_lock loops 2005-10-29 21:40:40 -07:00
poll.h
posix_types.h
prctl.h
processor-generic.h [PATCH] dump_thread() cleanup 2006-01-10 08:01:25 -08:00
processor-i386.h [PATCH] uml: Fix sysrq-r support for skas mode 2005-10-04 13:22:01 -07:00
processor-ppc.h
processor-x86_64.h [PATCH] uml: Fix sysrq-r support for skas mode 2005-10-04 13:22:01 -07:00
ptrace-generic.h
ptrace-i386.h
ptrace-x86_64.h
resource.h
rwlock.h
rwsem.h [PATCH] remove gcc-2 checks 2006-01-08 20:14:02 -08:00
scatterlist.h
sections.h
segment.h
semaphore.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext-generic.h
sigcontext-i386.h
sigcontext-ppc.h
sigcontext-x86_64.h
siginfo.h
signal.h
smp.h [PATCH] uml: avoid "CONFIG_NR_CPUS undeclared" bogus error messages 2006-02-01 08:53:23 -08:00
socket.h
sockios.h
spinlock_types.h [PATCH] uml spinlock breakage 2005-09-10 16:50:01 -07:00
spinlock.h
stat.h
statfs.h
string.h
suspend.h
system-generic.h
system-i386.h [PATCH] uml: UML/i386 cmpxchg fix 2005-09-17 11:50:01 -07:00
system-ppc.h
system-x86_64.h
termbits.h
termios.h
thread_info.h [PATCH] uml: add TIF_RESTORE_SIGMASK support 2006-01-18 19:20:30 -08:00
timex.h
tlb.h
tlbflush.h
topology.h
types.h
uaccess.h [PATCH] uml get_user() NULL noise removal 2005-09-30 08:42:24 -07:00
ucontext.h
unaligned.h
unistd.h [PATCH] uml: use generic sys_rt_sigsuspend 2006-01-18 19:20:30 -08:00
user.h
vga.h
vm86.h [PATCH] uml: vm86 compile fix 2005-07-28 21:46:03 -07:00
vm-flags-i386.h
vm-flags-x86_64.h
xor.h