diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2021-01-31 20:39:32 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-01-31 20:39:32 +0100 |
commit | f7ea44c7172ffcc13ed589163f5168bc54f3e039 (patch) | |
tree | f69793b73bca3dca86de28508c907cfd397a9097 /kernel | |
parent | Merge tag 'powerpc-5.11-6' of git://git.kernel.org/pub/scm/linux/kernel/git/p... (diff) | |
parent | entry: Unbreak single step reporting behaviour (diff) | |
download | linux-f7ea44c7172ffcc13ed589163f5168bc54f3e039.tar.xz linux-f7ea44c7172ffcc13ed589163f5168bc54f3e039.zip |
Merge tag 'core-urgent-2021-01-31' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull single stepping fix from Thomas Gleixner:
"A single fix for the single step reporting regression caused by
getting the condition wrong when moving SYSCALL_EMU away from TIF
flags"
[ There's apparently another problem too, fix pending ]
* tag 'core-urgent-2021-01-31' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
entry: Unbreak single step reporting behaviour
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/entry/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/entry/common.c b/kernel/entry/common.c index 378341642f94..6dd82be60df8 100644 --- a/kernel/entry/common.c +++ b/kernel/entry/common.c @@ -222,7 +222,7 @@ static inline bool report_single_step(unsigned long work) */ static inline bool report_single_step(unsigned long work) { - if (!(work & SYSCALL_WORK_SYSCALL_EMU)) + if (work & SYSCALL_WORK_SYSCALL_EMU) return false; return !!(current_thread_info()->flags & _TIF_SINGLESTEP); |