projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
all arches, signal: move restart_block to struct task_struct
[cascardo/linux.git]
/
arch
/
x86
/
um
/
signal.c
diff --git
a/arch/x86/um/signal.c
b/arch/x86/um/signal.c
index
79d8245
..
0c8c32b
100644
(file)
--- a/
arch/x86/um/signal.c
+++ b/
arch/x86/um/signal.c
@@
-157,7
+157,7
@@
static int copy_sc_from_user(struct pt_regs *regs,
int err, pid;
/* Always make any pending restarted system calls return -EINTR */
int err, pid;
/* Always make any pending restarted system calls return -EINTR */
- current
_thread_info()
->restart_block.fn = do_no_restart_syscall;
+ current->restart_block.fn = do_no_restart_syscall;
err = copy_from_user(&sc, from, sizeof(sc));
if (err)
err = copy_from_user(&sc, from, sizeof(sc));
if (err)