summaryrefslogtreecommitdiff
path: root/include/linux/thread_info.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@home.transmeta.com>2002-12-05 17:43:46 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2002-12-05 17:43:46 -0800
commita610260de458941d2c3e0b7b0a2a9a4989d3b02b (patch)
tree4c006276ab8cdedff539ee5e2b4325119f01cfbd /include/linux/thread_info.h
parent99b4fa8604021f8591a0c00a7c44bec54d955fb4 (diff)
Add "restart" system call, allowing system calls to restart after signal
handling. Update x86 to use the new infrastructure.
Diffstat (limited to 'include/linux/thread_info.h')
-rw-r--r--include/linux/thread_info.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/thread_info.h b/include/linux/thread_info.h
index 9beb0f922efc..8bacba8ed989 100644
--- a/include/linux/thread_info.h
+++ b/include/linux/thread_info.h
@@ -7,6 +7,16 @@
#ifndef _LINUX_THREAD_INFO_H
#define _LINUX_THREAD_INFO_H
+/*
+ * System call restart block.
+ */
+struct restart_block {
+ long (*fn)(struct restart_block *);
+ unsigned long arg0, arg1, arg2;
+};
+
+extern long do_no_restart_syscall(struct restart_block *parm);
+
#include <linux/bitops.h>
#include <asm/thread_info.h>