]> err.no Git - linux-2.6/commit
[PATCH] uml: fix syscall table by including $(SUBARCH)'s one, for i386
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Sun, 1 May 2005 15:58:55 +0000 (08:58 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 1 May 2005 15:58:55 +0000 (08:58 -0700)
commit5e7b83ffc67e15791d9bf8b2a18e4f5fd0eb69b8
tree21d245a8ebe9a36748b1f76ff9050ceeaeba926c
parente9c527163d31da9f616e989a90429729525c5233
[PATCH] uml: fix syscall table by including $(SUBARCH)'s one, for i386

Split the i386 entry.S files into entry.S and syscall_table.S which is
included in the previous one (so actually there is no difference between them)
and use the syscall_table.S in the UML build, instead of tracking by hand the
syscall table changes (which is inherently error-prone).

We must only insert the right #defines to inject the changes we need from the
i386 syscall table (for instance some different function names); also, we
don't implement some i386 syscalls, as ioperm(), nor some TLS-related ones
(yet to provide).

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/entry.S
arch/i386/kernel/syscall_table.S [new file with mode: 0644]
arch/um/include/sysdep-i386/syscalls.h
arch/um/include/sysdep-x86_64/syscalls.h
arch/um/kernel/Makefile
arch/um/sys-i386/Makefile
arch/um/sys-i386/sys_call_table.S [new file with mode: 0644]
arch/um/sys-x86_64/Makefile
arch/um/sys-x86_64/sys_call_table.c [moved from arch/um/kernel/sys_call_table.c with 98% similarity]