patch-2.1.91 linux/include/asm-alpha/unistd.h

Next file: linux/include/asm-arm/unistd.h
Previous file: linux/include/asm-alpha/init.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.90/linux/include/asm-alpha/unistd.h linux/include/asm-alpha/unistd.h
@@ -421,6 +421,12 @@
 	return sys_read(fd, buf, nr);
 }
 
+extern int sys_fork(void);
+static inline int fork(void)
+{
+	return sys_fork();
+}
+
 extern int __kernel_execve(char *, char **, char **, struct pt_regs *);
 static inline int execve(char * file, char ** argvp, char ** envp)
 {
@@ -450,6 +456,12 @@
 static inline pid_t wait(int * wait_stat)
 {
 	return waitpid(-1,wait_stat,0);
+}
+
+extern int sys_delete_module(const char *name);
+static inline int delete_module(const char *name)
+{
+	return sys_delete_module(name);
 }
 
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov