arch/arm/kernel/entry-common.S:56: Error: invalid constant (2ff) after fixup

Signed-off-by: Li Wang <li.w...@windriver.com>
---
 arch/arm/kernel/entry-common.S | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/kernel/entry-common.S b/arch/arm/kernel/entry-common.S
index 9f768aaa18a5..6ae3ce0e3576 100644
--- a/arch/arm/kernel/entry-common.S
+++ b/arch/arm/kernel/entry-common.S
@@ -53,7 +53,7 @@ __ret_fast_syscall:
        cmp     r2, #TASK_SIZE
        blne    addr_limit_check_failed
        ldr     r1, [tsk, #TI_FLAGS]            @ re-check for syscall tracing
-       tst     r1, #((_TIF_SYSCALL_WORK | _TIF_WORK_MASK) & ~_TIF_SECCOMP)
+       movs    r1, r1, lsl #16
        bne     fast_work_pending
        tst     r1, #_TIF_SECCOMP
        bne     fast_work_pending
@@ -92,7 +92,7 @@ __ret_fast_syscall:
        cmp     r2, #TASK_SIZE
        blne    addr_limit_check_failed
        ldr     r1, [tsk, #TI_FLAGS]            @ re-check for syscall tracing
-       tst     r1, #((_TIF_SYSCALL_WORK | _TIF_WORK_MASK) & ~_TIF_SECCOMP)
+       movs    r1, r1, lsl #16
        bne     do_slower_path
        tst     r1, #_TIF_SECCOMP
        beq     no_work_pending
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12107): 
https://lists.yoctoproject.org/g/linux-yocto/message/12107
Mute This Topic: https://lists.yoctoproject.org/mt/96334249/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to