diff options
Diffstat (limited to 'arch/um/include/shared/user.h')
-rw-r--r-- | arch/um/include/shared/user.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/um/include/shared/user.h b/arch/um/include/shared/user.h index 58c0581..4fa82c0 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); extern size_t strlcpy(char *, const char *, size_t); extern size_t strlcat(char *, const char *, size_t); +/* Copied from linux/compiler-gcc.h since we can't include it directly */ +#define barrier() __asm__ __volatile__("": : :"memory") + #endif |