original_kernel/arch/um/include
Jeff Dike 4ee189a926 [PATCH] uml: fix missing KBUILD_BASENAME
2.6.15-mm1 caused kernel-offsets.c to stop compiling with a syntax error in a
header.  The problem was with KBUILD_BASENAME, which didn't get a definition
with the by-hand compilation in the main UML Makefile.

This was OK before since the expansion was syntactically the same as the
KBUILD_BASENAME token.  With -mm1, the expansion is now a quote-delimited
string, so there needs to be a definition of it.

Since kernel-offsets.c is basically the same as other arches' asm-offsets.c,
and those seem to build OK, this patch turns kernel-offsets.c into
asm-offsets.c.  kernel-offsets.c is in arch/um/sys-$(SUBARCH), i.e.  sys-i386
and sys-x86_64, while kbuild expects it to be in arch/um/kernel.
kernel-offsets.c is moved to
arch/um/include/sysdep-$(SUBARCH)/kernel-offsets.h, which is included by
arch/um/kernel/asm-offsets.c.  With that, include/asm-um/asm-offsets.h is
generated automatically.  kernel-offsets.h continues to exist because it needs
to be accessible to userspace UML code, and include/asm-um isn't.  So, a
symlink is made from arch/um/include/kernel-offsets.h to
include/asm-um/asm-offsets.h.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-11 18:42:09 -08:00
..
sysdep-i386 [PATCH] uml: fix missing KBUILD_BASENAME 2006-01-11 18:42:09 -08:00
sysdep-ia64
sysdep-ppc
sysdep-x86_64 [PATCH] uml: fix missing KBUILD_BASENAME 2006-01-11 18:42:09 -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.h [PATCH] uml: separate libc-dependent umid code 2006-01-06 08:33:47 -08:00
kern_util.h [PATCH] uml: move libc-dependent code from trap_user.c 2006-01-08 20:13:39 -08:00
line.h [PATCH] uml: Add throttling to console driver 2006-01-06 08:33:46 -08:00
mconsole.h [PATCH] uml: add mconsole_reply variant with length param 2006-01-06 08:33:47 -08:00
mconsole_kern.h
mem.h
mem_kern.h
mem_user.h
mode.h
mode_kern.h
net_kern.h
net_user.h
os.h [PATCH] uml: move libc-dependent code from trap_user.c 2006-01-08 20:13:39 -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
time_user.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.h
user_util.h [PATCH] uml: move libc-dependent code from trap_user.c 2006-01-08 20:13:39 -08:00