diff options
author | Arnd Bergmann <arnd@arndb.de> | 2004-08-01 20:14:04 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-08-01 20:14:04 -0700 |
commit | 93bcf57f63949f7d9328b8679a76d3c50b659260 (patch) | |
tree | 8bddce980547aa45e21233a07edf2534faef9cbe /include | |
parent | b636665c715edf0520809c60a87f0932cfcb72eb (diff) | |
download | history-93bcf57f63949f7d9328b8679a76d3c50b659260.tar.gz |
[PATCH] DVB: "errno" undefined
Actually, the problem has its origin in my removal of all in-kernel
syscalls (except execve, which is non-trivial) earlier this year. This
change was blindly reverted by the maintainer, while at the same time the
local errno variable was removed. See also
http://linux.bkbits.net:8080/linux-2.5/hist/drivers/media/dvb/frontends/tda=
1004x.c
This patch is the one that was already merged earlier. I'm now also
removing the definitions for the kernel syscalls on i386 to make it harder
to reintroduce them again. This was already done for ppc64, the others
should probably follow.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-i386/unistd.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/asm-i386/unistd.h b/include/asm-i386/unistd.h index 0df3f9b0a2ff42..ef936b8614045e 100644 --- a/include/asm-i386/unistd.h +++ b/include/asm-i386/unistd.h @@ -425,15 +425,7 @@ __syscall_return(type,__res); \ * won't be any messing with the stack from main(), but we define * some others too. */ -static inline _syscall0(pid_t,setsid) -static inline _syscall3(int,write,int,fd,const char *,buf,off_t,count) -static inline _syscall3(int,read,int,fd,char *,buf,off_t,count) -static inline _syscall3(off_t,lseek,int,fd,off_t,offset,int,count) -static inline _syscall1(int,dup,int,fd) static inline _syscall3(int,execve,const char *,file,char **,argv,char **,envp) -static inline _syscall3(int,open,const char *,file,int,flag,int,mode) -static inline _syscall1(int,close,int,fd) -static inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options) asmlinkage int sys_modify_ldt(int func, void __user *ptr, unsigned long bytecount); asmlinkage long sys_mmap2(unsigned long addr, unsigned long len, |