diff options
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/shared/process.h | 3 | ||||
-rw-r--r-- | arch/um/include/shared/user.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/um/include/shared/process.h b/arch/um/include/shared/process.h index bb873a51262..28215300fc6 100644 --- a/arch/um/include/shared/process.h +++ b/arch/um/include/shared/process.h | |||
@@ -8,9 +8,6 @@ | |||
8 | 8 | ||
9 | #include <signal.h> | 9 | #include <signal.h> |
10 | 10 | ||
11 | /* Copied from linux/compiler-gcc.h since we can't include it directly */ | ||
12 | #define barrier() __asm__ __volatile__("": : :"memory") | ||
13 | |||
14 | extern void sig_handler(int sig, struct sigcontext *sc); | 11 | extern void sig_handler(int sig, struct sigcontext *sc); |
15 | extern void alarm_handler(int sig, struct sigcontext *sc); | 12 | extern void alarm_handler(int sig, struct sigcontext *sc); |
16 | 13 | ||
diff --git a/arch/um/include/shared/user.h b/arch/um/include/shared/user.h index 58c058165e0..4fa82c055aa 100644 --- a/arch/um/include/shared/user.h +++ b/arch/um/include/shared/user.h | |||
@@ -40,4 +40,7 @@ extern int in_aton(char *str); | |||
40 | extern size_t strlcpy(char *, const char *, size_t); | 40 | extern size_t strlcpy(char *, const char *, size_t); |
41 | extern size_t strlcat(char *, const char *, size_t); | 41 | extern size_t strlcat(char *, const char *, size_t); |
42 | 42 | ||
43 | /* Copied from linux/compiler-gcc.h since we can't include it directly */ | ||
44 | #define barrier() __asm__ __volatile__("": : :"memory") | ||
45 | |||
43 | #endif | 46 | #endif |