linux/arch/riscv/include
Leonardo Bras 9dc3041924
riscv: Replace direct thread flag check with is_compat_task()
There is some code that detects compat mode into a task by checking the
flag directly, and other code that check using the helper is_compat_task().

Since the helper already exists, use it instead of checking the flags
directly.

Signed-off-by: Leonardo Bras <leobras@redhat.com>
Link: https://lore.kernel.org/r/20240103160024.70305-4-leobras@redhat.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2024-03-19 16:39:37 -07:00
..
asm riscv: Replace direct thread flag check with is_compat_task() 2024-03-19 16:39:37 -07:00
uapi/asm RISC-V Patches for the 6.7 Merge Window, Part 2 2023-11-10 09:23:17 -08:00