diff options
Diffstat (limited to 'arch/um/include/shared/user.h')
-rw-r--r-- | arch/um/include/shared/user.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/um/include/shared/user.h b/arch/um/include/shared/user.h index 293f7c794faa..4fa82c055aab 100644 --- a/arch/um/include/shared/user.h +++ b/arch/um/include/shared/user.h | |||
@@ -6,7 +6,7 @@ | |||
6 | #ifndef __USER_H__ | 6 | #ifndef __USER_H__ |
7 | #define __USER_H__ | 7 | #define __USER_H__ |
8 | 8 | ||
9 | #include "kern_constants.h" | 9 | #include <generated/asm-offsets.h> |
10 | 10 | ||
11 | /* | 11 | /* |
12 | * The usual definition - copied here because the kernel provides its own, | 12 | * The usual definition - copied here because the kernel provides its own, |
@@ -36,10 +36,11 @@ static inline int printk(const char *fmt, ...) | |||
36 | } | 36 | } |
37 | #endif | 37 | #endif |
38 | 38 | ||
39 | extern void schedule(void); | ||
40 | extern int in_aton(char *str); | 39 | extern int in_aton(char *str); |
41 | extern int open_gdb_chan(void); | ||
42 | extern size_t strlcpy(char *, const char *, size_t); | 40 | extern size_t strlcpy(char *, const char *, size_t); |
43 | extern size_t strlcat(char *, const char *, size_t); | 41 | extern size_t strlcat(char *, const char *, size_t); |
44 | 42 | ||
43 | /* Copied from linux/compiler-gcc.h since we can't include it directly */ | ||
44 | #define barrier() __asm__ __volatile__("": : :"memory") | ||
45 | |||
45 | #endif | 46 | #endif |