]> err.no Git - linux-2.6/commit
[PATCH] uml: fix syscall table by including $(SUBARCH)'s one, for x86-64
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)
commit80f9507886076de0cadfdf2b87701e68156829c2
treed9830aeda24b0a004938bae36db3e8efba84b7db
parentddcd6b175793839e51fdd55debb670a9f512c448
[PATCH] uml: fix syscall table by including $(SUBARCH)'s one, for x86-64

Reuse asm-x86-64/unistd.h to build our syscall table, like x86-64 already
does.

Like for i386, we must add some #defines for all the (right!) changes UML does
to x86-64 syscall table.

Note: I noted a bogus:
[ __NR_sched_yield ] = (syscall_handler_t *) yield,

while doing this patch (which could only be a workaround for some strange bug,
but I would ignore this possibility).  I'm changing this without notice.

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/um/include/sysdep-x86_64/syscalls.h
arch/um/sys-x86_64/Makefile
arch/um/sys-x86_64/sys_call_table.c [deleted file]
arch/um/sys-x86_64/syscall_table.c [new file with mode: 0644]
arch/um/sys-x86_64/syscalls.c