summaryrefslogtreecommitdiffstats
path: root/arch/um/include/shared/process.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/shared/process.h')
-rw-r--r--arch/um/include/shared/process.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/um/include/shared/process.h b/arch/um/include/shared/process.h
new file mode 100644
index 000000000000..bb873a51262e
--- /dev/null
+++ b/arch/um/include/shared/process.h
@@ -0,0 +1,17 @@
+/*
+ * Copyright (C) 2000 - 2008 Jeff Dike (jdike@{addtoit,linux.intel}.com)
+ * Licensed under the GPL
+ */
+
+#ifndef __PROCESS_H__
+#define __PROCESS_H__
+
+#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);
+
+#endif
OpenPOWER on IntegriCloud