summaryrefslogtreecommitdiff
path: root/drivers/watchdog/exar_wdt.c
diff options
context:
space:
mode:
authorLeonardo Bras <leobras@redhat.com>2024-01-03 19:00:20 +0300
committerPalmer Dabbelt <palmer@rivosinc.com>2024-03-20 02:39:37 +0300
commit9dc30419248f78dfebea7a554ec212dd1d82f8d7 (patch)
tree3e1f3ee5f0a6450982d05c227a899c423048b2d7 /drivers/watchdog/exar_wdt.c
parent6be7ee4bebd14b8e7e040a5e7fd6aec3d9167c72 (diff)
downloadlinux-9dc30419248f78dfebea7a554ec212dd1d82f8d7.tar.xz
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>
Diffstat (limited to 'drivers/watchdog/exar_wdt.c')
0 files changed, 0 insertions, 0 deletions