linux/arch/m68k/68000
Daniel Palmer 2c6805145e 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>
2026-04-06 08:46:14 +10:00
..
bootlogo-vz.h
bootlogo.h
dragen2.c m68k: nommu: Fix misspellings of "DragonEngine" 2023-02-13 08:56:39 +10:00
entry.S m68k: Fix task info flags handling for 68000 2026-04-06 08:46:14 +10:00
head.S
ints.c m68k: 68000: fix warnings in 68000 interrupt handling 2023-10-23 08:22:22 +10:00
ints.h m68k: 68000: fix warnings in 68000 interrupt handling 2023-10-23 08:22:22 +10:00
m68328.c m68k: m68328: remove duplicate code 2020-12-07 09:37:58 +10:00
m68328.h
Makefile kbuild: use obj-y instead extra-y for objects placed at the head 2022-10-02 18:04:05 +09:00
romvec.S
screen.h m68knommu: fix 'screen_bits' defined but not used 2022-03-07 14:51:11 +10:00
timers.c m68k: 68000: fix warning in timer code 2023-10-23 08:22:22 +10:00
ucsimm.c m68knommu: Replace deprecated strcpy with strscpy in init_ucsimm 2026-01-27 12:38:52 +10:00