aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/os-Linux/signal.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2011-08-18 15:04:59 -0400
committerRichard Weinberger <richard@nod.at>2011-11-02 09:14:58 -0400
commit05c46db4d7d51af969e09f9f1adbff66ee2e84b4 (patch)
treeade36b7da93e8e297a40312cd5047196ab8dccd5 /arch/um/os-Linux/signal.c
parentdd768c56da44f6c06486da3b33b41e9c13e985c5 (diff)
um: take userland definition of barrier() to user.h
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/os-Linux/signal.c')
-rw-r--r--arch/um/os-Linux/signal.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/um/os-Linux/signal.c b/arch/um/os-Linux/signal.c
index c4a4e2026630..08d306176995 100644
--- a/arch/um/os-Linux/signal.c
+++ b/arch/um/os-Linux/signal.c
@@ -16,9 +16,6 @@
16#include "sysdep/barrier.h" 16#include "sysdep/barrier.h"
17#include "sysdep/sigcontext.h" 17#include "sysdep/sigcontext.h"
18 18
19/* Copied from linux/compiler-gcc.h since we can't include it directly */
20#define barrier() __asm__ __volatile__("": : :"memory")
21
22void (*sig_info[NSIG])(int, struct uml_pt_regs *) = { 19void (*sig_info[NSIG])(int, struct uml_pt_regs *) = {
23 [SIGTRAP] = relay_signal, 20 [SIGTRAP] = relay_signal,
24 [SIGFPE] = relay_signal, 21 [SIGFPE] = relay_signal,