diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2021-02-08 16:10:29 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-02-11 13:35:10 +0100 |
commit | 72b7a9e56b25babfe4c90bf3ce88285c7fb62ab9 (patch) | |
tree | 76714e5cc9b811390df7a6934120307f56aa0e96 /arch/powerpc/kernel/misc.S | |
parent | powerpc/syscall: Make interrupt.c buildable on PPC32 (diff) | |
download | linux-72b7a9e56b25babfe4c90bf3ce88285c7fb62ab9.tar.xz linux-72b7a9e56b25babfe4c90bf3ce88285c7fb62ab9.zip |
powerpc/syscall: Use is_compat_task()
Instead of hard comparing task flags with _TIF_32BIT, use
is_compat_task(). The advantage is that it returns 0 on PPC32
allthough _TIF_32BIT is always set.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/c8094662199337a7200fea9f6e1d1f8b1b6d5f69.1612796617.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/kernel/misc.S')
0 files changed, 0 insertions, 0 deletions