2 * Common syscall restarting data
4 #ifndef __LINUX_RESTART_BLOCK_H
5 #define __LINUX_RESTART_BLOCK_H
7 #include <linux/compiler.h>
8 #include <linux/types.h>
11 struct compat_timespec
;
23 * System call restart block.
25 struct restart_block
{
26 long (*fn
)(struct restart_block
*);
28 /* For futex_wait and futex_wait_requeue_pi */
40 enum timespec_type type
;
42 struct timespec __user
*rmtp
;
44 struct compat_timespec __user
*compat_rmtp
;
51 struct pollfd __user
*ufds
;
55 unsigned long tv_nsec
;
60 extern long do_no_restart_syscall(struct restart_block
*parm
);
62 #endif /* __LINUX_RESTART_BLOCK_H */