diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-04-11 08:42:47 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-04-11 08:42:47 +0200 |
commit | 84b1e36a6aee080ea01256659e2957114a0a52b5 (patch) | |
tree | e105aceb0f5aac46dbed0cb86ec28656cce44f35 /lib/syscall.c | |
parent | Merge tag 'perf-core-for-mingo-4.12-20170404' of git://git.kernel.org/pub/scm... (diff) | |
parent | Linux 4.11-rc6 (diff) | |
download | linux-84b1e36a6aee080ea01256659e2957114a0a52b5.tar.xz linux-84b1e36a6aee080ea01256659e2957114a0a52b5.zip |
Merge tag 'v4.11-rc6' into perf/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib/syscall.c')
-rw-r--r-- | lib/syscall.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/syscall.c b/lib/syscall.c index 17d5ff5fa6a3..2c6cd1b5c3ea 100644 --- a/lib/syscall.c +++ b/lib/syscall.c @@ -12,6 +12,7 @@ static int collect_syscall(struct task_struct *target, long *callno, if (!try_get_task_stack(target)) { /* Task has no stack, so the task isn't in a syscall. */ + *sp = *pc = 0; *callno = -1; return 0; } |