Subject: [PATCH 36/91] um: take userland definition of barrier() to user.h
Signed-off-by Al Viro <[email protected]>
--- arch/um/include/shared/process.h | 3 --- arch/um/include/shared/user.h | 3 +++ arch/um/os-Linux/signal.c | 3 --- 3 files changed, 3 insertions(+), 6 deletions(-)
arch/um/include/shared/process.h +0 -3
@@ -8,9 +8,6 @@#include <signal.h> -/* Copied from linux/compiler-gcc.h since we can't include it directly */ -#define barrier () __asm__ __volatile__("": : :"memory") -extern void sig_handler (int sig,struct sigcontext *sc);extern void alarm_handler (int sig,struct sigcontext *sc);
arch/um/include/shared/user.h +3 -0
@@ -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
arch/um/os-Linux/signal.c +0 -3
@@ -16,9 +16,6 @@#include "sysdep/barrier.h" #include "sysdep/sigcontext.h" -/* Copied from linux/compiler-gcc.h since we can't include it directly */ -#define barrier () __asm__ __volatile__("": : :"memory") -void (*sig_info[NSIG ])(int ,struct uml_pt_regs *) = { [SIGTRAP ] = relay_signal, [SIGFPE ] = relay_signal,
Signature · 1 line
1.7.2.5