uml: trim unused junk from arch/x86/um/sys_call_table_*.c
a bunch of detritus there - definitions that are never expanded or checked. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
parent
85e73968a0
commit
8f5c84f367
|
@ -9,8 +9,6 @@
|
||||||
#include <linux/cache.h>
|
#include <linux/cache.h>
|
||||||
#include <asm/syscall.h>
|
#include <asm/syscall.h>
|
||||||
|
|
||||||
#define __NO_STUBS
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Below you can see, in terms of #define's, the differences between the x86-64
|
* Below you can see, in terms of #define's, the differences between the x86-64
|
||||||
* and the UML syscall table.
|
* and the UML syscall table.
|
||||||
|
@ -23,8 +21,6 @@
|
||||||
#define sys_vm86old sys_ni_syscall
|
#define sys_vm86old sys_ni_syscall
|
||||||
#define sys_vm86 sys_ni_syscall
|
#define sys_vm86 sys_ni_syscall
|
||||||
|
|
||||||
#define old_mmap sys_old_mmap
|
|
||||||
|
|
||||||
#define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native)
|
#define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native)
|
||||||
|
|
||||||
#define __SYSCALL(nr, sym) extern asmlinkage long sym(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long);
|
#define __SYSCALL(nr, sym) extern asmlinkage long sym(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long);
|
||||||
|
|
|
@ -9,8 +9,6 @@
|
||||||
#include <linux/cache.h>
|
#include <linux/cache.h>
|
||||||
#include <asm/syscall.h>
|
#include <asm/syscall.h>
|
||||||
|
|
||||||
#define __NO_STUBS
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Below you can see, in terms of #define's, the differences between the x86-64
|
* Below you can see, in terms of #define's, the differences between the x86-64
|
||||||
* and the UML syscall table.
|
* and the UML syscall table.
|
||||||
|
@ -20,21 +18,9 @@
|
||||||
#define sys_iopl sys_ni_syscall
|
#define sys_iopl sys_ni_syscall
|
||||||
#define sys_ioperm sys_ni_syscall
|
#define sys_ioperm sys_ni_syscall
|
||||||
|
|
||||||
/*
|
|
||||||
* The UML TLS problem. Note that x86_64 does not implement this, so the below
|
|
||||||
* is needed only for the ia32 compatibility.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* On UML we call it this way ("old" means it's not mmap2) */
|
/* On UML we call it this way ("old" means it's not mmap2) */
|
||||||
#define sys_mmap old_mmap
|
#define sys_mmap old_mmap
|
||||||
|
|
||||||
#define stub_clone sys_clone
|
|
||||||
#define stub_fork sys_fork
|
|
||||||
#define stub_vfork sys_vfork
|
|
||||||
#define stub_execve sys_execve
|
|
||||||
#define stub_execveat sys_execveat
|
|
||||||
#define stub_rt_sigreturn sys_rt_sigreturn
|
|
||||||
|
|
||||||
#define __SYSCALL(nr, sym) extern asmlinkage long sym(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long);
|
#define __SYSCALL(nr, sym) extern asmlinkage long sym(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long);
|
||||||
#include <asm/syscalls_64.h>
|
#include <asm/syscalls_64.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue