summaryrefslogtreecommitdiff
path: root/include/linux/restart_block.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/restart_block.h')
-rw-r--r--include/linux/restart_block.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/restart_block.h b/include/linux/restart_block.h
index bba2920e9c05..36ddfa1ec301 100644
--- a/include/linux/restart_block.h
+++ b/include/linux/restart_block.h
@@ -7,8 +7,8 @@
#include <linux/compiler.h>
#include <linux/types.h>
-#include <linux/time64.h>
+struct __kernel_timespec;
struct timespec;
struct old_timespec32;
struct pollfd;
@@ -23,9 +23,10 @@ enum timespec_type {
* System call restart block.
*/
struct restart_block {
+ unsigned long arch_data;
long (*fn)(struct restart_block *);
union {
- /* For futex_wait and futex_wait_requeue_pi */
+ /* For futex_wait() */
struct {
u32 __user *uaddr;
u32 val;
@@ -42,7 +43,7 @@ struct restart_block {
struct __kernel_timespec __user *rmtp;
struct old_timespec32 __user *compat_rmtp;
};
- u64 expires;
+ ktime_t expires;
} nanosleep;
/* For poll */
struct {