diff options
| author | Yuxuan Shui <[email protected]> | 2021-01-23 11:21:32 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2021-01-28 12:46:55 +0000 |
| commit | 41c1a06d1d1544bed9692ba72a5692454eee1945 (patch) | |
| tree | 8a02e112eeeac0d0953f2a070f452979c9eaa66c /drivers/usb/cdns3/cdns3-imx.c | |
| parent | Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert... (diff) | |
| download | kernel-41c1a06d1d1544bed9692ba72a5692454eee1945.tar.gz kernel-41c1a06d1d1544bed9692ba72a5692454eee1945.zip | |
entry: Unbreak single step reporting behaviour
The move of TIF_SYSCALL_EMU to SYSCALL_WORK_SYSCALL_EMU broke single step
reporting. The original code reported the single step when TIF_SINGLESTEP
was set and TIF_SYSCALL_EMU was not set. The SYSCALL_WORK conversion got
the logic wrong and now the reporting only happens when both bits are set.
Restore the original behaviour.
[ tglx: Massaged changelog and dropped the pointless double negation ]
Fixes: 64eb35f701f0 ("ptrace: Migrate TIF_SYSCALL_EMU to use SYSCALL_WORK flag")
Signed-off-by: Yuxuan Shui <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Gabriel Krisman Bertazi <[email protected]>
Link: https://lore.kernel.org/r/877do3gaq9.fsf@m5Zedd9JOGzJrf0
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions
