diff options
Diffstat (limited to 'arch/um/include/os.h')
-rw-r--r-- | arch/um/include/os.h | 16 |
1 files changed, 7 insertions, 9 deletions
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); |