diff options
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/irq_user.h | 4 | ||||
-rw-r--r-- | arch/um/include/kern_util.h | 3 | ||||
-rw-r--r-- | arch/um/include/os.h | 16 | ||||
-rw-r--r-- | arch/um/include/skas/skas.h | 3 | ||||
-rw-r--r-- | arch/um/include/sysdep-i386/ptrace.h | 12 |
5 files changed, 17 insertions, 21 deletions
diff --git a/arch/um/include/irq_user.h b/arch/um/include/irq_user.h index e16ebce1290d..884a9c17eea0 100644 --- a/arch/um/include/irq_user.h +++ b/arch/um/include/irq_user.h | |||
@@ -1,12 +1,12 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2001, 2002 Jeff Dike (jdike@karaya.com) | 2 | * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) |
3 | * Licensed under the GPL | 3 | * Licensed under the GPL |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #ifndef __IRQ_USER_H__ | 6 | #ifndef __IRQ_USER_H__ |
7 | #define __IRQ_USER_H__ | 7 | #define __IRQ_USER_H__ |
8 | 8 | ||
9 | #include "uml-config.h" | 9 | #include "sysdep/ptrace.h" |
10 | 10 | ||
11 | struct irq_fd { | 11 | struct irq_fd { |
12 | struct irq_fd *next; | 12 | struct irq_fd *next; |
diff --git a/arch/um/include/kern_util.h b/arch/um/include/kern_util.h index 9d3110f41ddb..7e7e84e4bc53 100644 --- a/arch/um/include/kern_util.h +++ b/arch/um/include/kern_util.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2000, 2001, 2002 Jeff Dike (jdike@karaya.com) | 2 | * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) |
3 | * Licensed under the GPL | 3 | * Licensed under the GPL |
4 | */ | 4 | */ |
5 | 5 | ||
@@ -8,7 +8,6 @@ | |||
8 | 8 | ||
9 | #include "sysdep/ptrace.h" | 9 | #include "sysdep/ptrace.h" |
10 | #include "sysdep/faultinfo.h" | 10 | #include "sysdep/faultinfo.h" |
11 | #include "uml-config.h" | ||
12 | 11 | ||
13 | typedef void (*kern_hndl)(int, struct uml_pt_regs *); | 12 | typedef void (*kern_hndl)(int, struct uml_pt_regs *); |
14 | 13 | ||
diff --git a/arch/um/include/os.h b/arch/um/include/os.h index daf188843a94..96f333cd560d 100644 --- a/arch/um/include/os.h +++ b/arch/um/include/os.h | |||
@@ -1,20 +1,18 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2002 Jeff Dike (jdike@karaya.com) | 2 | * Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) |
3 | * Licensed under the GPL | 3 | * Licensed under the GPL |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #ifndef __OS_H__ | 6 | #ifndef __OS_H__ |
7 | #define __OS_H__ | 7 | #define __OS_H__ |
8 | 8 | ||
9 | #include "uml-config.h" | 9 | #include <stdarg.h> |
10 | #include "asm/types.h" | ||
11 | #include "../os/include/file.h" | ||
12 | #include "sysdep/ptrace.h" | ||
13 | #include "kern_util.h" | ||
14 | #include "skas/mm_id.h" | ||
15 | #include "irq_user.h" | 10 | #include "irq_user.h" |
11 | #include "kern_util.h" | ||
12 | #include "longjmp.h" | ||
13 | #include "mm_id.h" | ||
16 | #include "sysdep/tls.h" | 14 | #include "sysdep/tls.h" |
17 | #include "sysdep/archsetjmp.h" | 15 | #include "../os/include/file.h" |
18 | 16 | ||
19 | #define CATCH_EINTR(expr) while ((errno = 0, ((expr) < 0)) && (errno == EINTR)) | 17 | #define CATCH_EINTR(expr) while ((errno = 0, ((expr) < 0)) && (errno == EINTR)) |
20 | 18 | ||
@@ -140,7 +138,7 @@ extern int os_set_slip(int fd); | |||
140 | extern int os_set_owner(int fd, int pid); | 138 | extern int os_set_owner(int fd, int pid); |
141 | extern int os_mode_fd(int fd, int mode); | 139 | extern int os_mode_fd(int fd, int mode); |
142 | 140 | ||
143 | extern int os_seek_file(int fd, __u64 offset); | 141 | extern int os_seek_file(int fd, unsigned long long offset); |
144 | extern int os_open_file(char *file, struct openflags flags, int mode); | 142 | extern int os_open_file(char *file, struct openflags flags, int mode); |
145 | extern int os_read_file(int fd, void *buf, int len); | 143 | extern int os_read_file(int fd, void *buf, int len); |
146 | extern int os_write_file(int fd, const void *buf, int count); | 144 | extern int os_write_file(int fd, const void *buf, int count); |
diff --git a/arch/um/include/skas/skas.h b/arch/um/include/skas/skas.h index b4a95e485929..b073f8a86bd3 100644 --- a/arch/um/include/skas/skas.h +++ b/arch/um/include/skas/skas.h | |||
@@ -1,12 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2002 Jeff Dike (jdike@karaya.com) | 2 | * Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) |
3 | * Licensed under the GPL | 3 | * Licensed under the GPL |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #ifndef __SKAS_H | 6 | #ifndef __SKAS_H |
7 | #define __SKAS_H | 7 | #define __SKAS_H |
8 | 8 | ||
9 | #include "mm_id.h" | ||
10 | #include "sysdep/ptrace.h" | 9 | #include "sysdep/ptrace.h" |
11 | 10 | ||
12 | extern int userspace_pid[]; | 11 | extern int userspace_pid[]; |
diff --git a/arch/um/include/sysdep-i386/ptrace.h b/arch/um/include/sysdep-i386/ptrace.h index d765175d42be..b843941acd1d 100644 --- a/arch/um/include/sysdep-i386/ptrace.h +++ b/arch/um/include/sysdep-i386/ptrace.h | |||
@@ -97,12 +97,12 @@ struct syscall_args { | |||
97 | }; | 97 | }; |
98 | 98 | ||
99 | #define SYSCALL_ARGS(r) ((struct syscall_args) \ | 99 | #define SYSCALL_ARGS(r) ((struct syscall_args) \ |
100 | { .args = { UPT_SYSCALL_ARG1(r), \ | 100 | { .args = { UPT_SYSCALL_ARG1(r), \ |
101 | UPT_SYSCALL_ARG2(r), \ | 101 | UPT_SYSCALL_ARG2(r), \ |
102 | UPT_SYSCALL_ARG3(r), \ | 102 | UPT_SYSCALL_ARG3(r), \ |
103 | UPT_SYSCALL_ARG4(r), \ | 103 | UPT_SYSCALL_ARG4(r), \ |
104 | UPT_SYSCALL_ARG5(r), \ | 104 | UPT_SYSCALL_ARG5(r), \ |
105 | UPT_SYSCALL_ARG6(r) } } ) | 105 | UPT_SYSCALL_ARG6(r) } } ) |
106 | 106 | ||
107 | #define UPT_REG(regs, reg) \ | 107 | #define UPT_REG(regs, reg) \ |
108 | ({ unsigned long val; \ | 108 | ({ unsigned long val; \ |