Skip to content

Commit f7ea44c

Browse files
committed
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
2 parents b333a99 + 41c1a06 commit f7ea44c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/entry/common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ static inline bool report_single_step(unsigned long work)
222222
*/
223223
static inline bool report_single_step(unsigned long work)
224224
{
225-
if (!(work & SYSCALL_WORK_SYSCALL_EMU))
225+
if (work & SYSCALL_WORK_SYSCALL_EMU)
226226
return false;
227227

228228
return !!(current_thread_info()->flags & _TIF_SINGLESTEP);

0 commit comments

Comments
 (0)