[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>
Showing
- arch/i386/kernel/entry.S 1 addition, 291 deletionsarch/i386/kernel/entry.S
- arch/i386/kernel/syscall_table.S 291 additions, 0 deletionsarch/i386/kernel/syscall_table.S
- arch/um/include/sysdep-i386/syscalls.h 0 additions, 99 deletionsarch/um/include/sysdep-i386/syscalls.h
- arch/um/include/sysdep-x86_64/syscalls.h 0 additions, 11 deletionsarch/um/include/sysdep-x86_64/syscalls.h
- arch/um/kernel/Makefile 1 addition, 1 deletionarch/um/kernel/Makefile
- arch/um/sys-i386/Makefile 2 additions, 1 deletionarch/um/sys-i386/Makefile
- arch/um/sys-i386/sys_call_table.S 16 additions, 0 deletionsarch/um/sys-i386/sys_call_table.S
- arch/um/sys-x86_64/Makefile 1 addition, 1 deletionarch/um/sys-x86_64/Makefile
- arch/um/sys-x86_64/sys_call_table.c 9 additions, 3 deletionsarch/um/sys-x86_64/sys_call_table.c
Loading
Please register or sign in to comment