android_kernel_xiaomi_sm8350/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 [PATCH] uml: revert block driver use of host AIO 2005-10-12 08:22:26 -07:00
chan_kern.h [PATCH] uml: Add throttling to console driver 2006-01-06 08:33:46 -08:00
chan_user.h [PATCH] uml console channels: fix the API of console_write 2005-11-13 18:14:14 -08:00
choose-mode.h [PATCH] uml: better diagnostics for broken configs 2006-01-06 08:33:47 -08:00
common-offsets.h [PATCH] uml makefiles sanitized 2005-09-29 08:46:26 -07:00
elf_user.h
frame_kern.h
init.h [PATCH] uml: use host AIO support 2005-09-05 00:06:23 -07:00
initrd.h
irq_kern.h [PATCH] uml: use host AIO support 2005-09-05 00:06:23 -07:00
irq_user.h [PATCH] uml: Simplify console opening/closing and irq registration 2006-01-06 08:33:46 -08:00
kern_util.h [PATCH] uml: move libc-dependent code from trap_user.c 2006-01-08 20:13:39 -08:00
kern.h [PATCH] uml: separate libc-dependent umid code 2006-01-06 08:33:47 -08:00
line.h [PATCH] uml: Add throttling to console driver 2006-01-06 08:33:46 -08:00
mconsole_kern.h
mconsole.h [PATCH] uml: add mconsole_reply variant with length param 2006-01-06 08:33:47 -08:00
mem_kern.h
mem_user.h [PATCH] uml: big memory fixes 2005-11-07 07:53:31 -08:00
mem.h [PATCH] uml: inline mk_pte and various friends 2005-09-10 12:00:18 -07:00
mode_kern.h
mode.h
net_kern.h [PATCH] missing platform_device.h includes 2005-11-01 21:50:01 -08:00
net_user.h [PATCH] uml: fix UML network driver endianness bugs 2005-11-07 07:53:30 -08:00
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 [PATCH] uml: Fix sysrq-r support for skas mode 2005-10-04 13:22:01 -07:00
sigcontext.h
sigio.h
signal_kern.h
skas_ptrace.h
skas_ptregs.h [PATCH] uml makefiles sanitized 2005-09-29 08:46:26 -07:00
syscall.h [PATCH] uml: system call path cleanup 2005-09-05 00:06:23 -07:00
sysrq.h
task.h [PATCH] uml makefiles sanitized 2005-09-29 08:46:26 -07:00
tempfile.h
time_user.h
tlb.h [PATCH] mm: uml kill unused 2005-10-29 21:40:42 -07:00
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 [PATCH] uml: separate libc-dependent uaccess code 2005-11-07 07:53:31 -08:00
user_util.h [PATCH] uml: move libc-dependent code from trap_user.c 2006-01-08 20:13:39 -08:00
user.h [PATCH] strlcat: use for uml umid.c 2005-09-22 22:17:36 -07:00