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
;
15 * System call restart block.
17 struct restart_block
{
18 long (*fn
)(struct restart_block
*);
20 /* For futex_wait and futex_wait_requeue_pi */
32 struct timespec __user
*rmtp
;
34 struct compat_timespec __user
*compat_rmtp
;
40 struct pollfd __user
*ufds
;
44 unsigned long tv_nsec
;
49 extern long do_no_restart_syscall(struct restart_block
*parm
);
51 #endif /* __LINUX_RESTART_BLOCK_H */