diff options
| author | Daniel Palmer <daniel@0x0f.com> | 2026-04-04 11:31:08 +0900 |
|---|---|---|
| committer | Greg Ungerer <gerg@kernel.org> | 2026-04-06 08:46:14 +1000 |
| commit | 2c6805145e1605cef39459f78979f7edee251b41 (patch) | |
| tree | a7a53c0e982fb1a977efd36f6ccbb5a12523e02a /rust/kernel/ptr/git@git.tavy.me:linux.git | |
| parent | 591cd656a1bf5ea94a222af5ef2ee76df029c1d2 (diff) | |
m68k: Fix task info flags handling for 68000
The logic for deciding what to do after a syscall should be checking
if any of the lower byte bits are set and then checking if the reschedule
bit is set.
Currently we are loading the top word, checking if any bits are set
(which never seems to be true) and thus jumping over loading the
whole long and checking if the reschedule bit is set.
We get the thread info in two places so split that logic out in
a macro and then fix the code so that it loads the byte of the flags
we need to check, checks if anything is set and then checks if
the reschedule bit in particular is set.
Reported-by: Christoph Plattner <christoph.plattner@gmx.at>
Signed-off-by: Daniel Palmer <daniel@0x0f.com>
Signed-off-by: Greg Ungerer <gerg@kernel.org>
Diffstat (limited to 'rust/kernel/ptr/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
