Skip to content

Commit

Permalink
x86, um: get rid of uml unistd.h
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
  • Loading branch information
Al Viro authored and H. Peter Anvin committed Oct 23, 2008
1 parent 6a0eec8 commit ff64b4c
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 41 deletions.
41 changes: 0 additions & 41 deletions arch/um/include/asm/unistd.h

This file was deleted.

1 change: 1 addition & 0 deletions arch/um/kernel/exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include "mem_user.h"
#include "skas.h"
#include "os.h"
#include "internal.h"

void flush_thread(void)
{
Expand Down
1 change: 1 addition & 0 deletions arch/um/kernel/internal.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extern long um_execve(char *file, char __user *__user *argv, char __user *__user *env);
1 change: 1 addition & 0 deletions arch/um/kernel/syscall.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include "asm/mman.h"
#include "asm/uaccess.h"
#include "asm/unistd.h"
#include "internal.h"

long sys_fork(void)
{
Expand Down
1 change: 1 addition & 0 deletions arch/um/sys-i386/syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include "linux/sched.h"
#include "linux/shm.h"
#include "linux/ipc.h"
#include "linux/syscalls.h"
#include "asm/mman.h"
#include "asm/uaccess.h"
#include "asm/unistd.h"
Expand Down

0 comments on commit ff64b4c

Please sign in to comment.