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
/
kernel
/
signal.c
diff --git
a/arch/x86/kernel/signal.c
b/arch/x86/kernel/signal.c
index
ed37a76
..
e504246
100644
(file)
--- a/
arch/x86/kernel/signal.c
+++ b/
arch/x86/kernel/signal.c
@@
-69,7
+69,7
@@
int restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc,
unsigned int err = 0;
/* Always make any pending restarted system calls return -EINTR */
unsigned int err = 0;
/* 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;
get_user_try {
get_user_try {
@@
-740,12
+740,6
@@
do_notify_resume(struct pt_regs *regs, void *unused, __u32 thread_info_flags)
{
user_exit();
{
user_exit();
-#ifdef CONFIG_X86_MCE
- /* notify userspace of pending MCEs */
- if (thread_info_flags & _TIF_MCE_NOTIFY)
- mce_notify_process();
-#endif /* CONFIG_X86_64 && CONFIG_X86_MCE */
-
if (thread_info_flags & _TIF_UPROBE)
uprobe_notify_resume(regs);
if (thread_info_flags & _TIF_UPROBE)
uprobe_notify_resume(regs);