Skip to content

Commit bd11aab

Browse files
committed
csky: Fixup compile error for abiv1 entry.S
This bug is from uprobe signal definition in thread_info.h. The instruction (andi) of abiv1 immediate is smaller than abiv2, then it will cause: AS arch/csky/kernel/entry.o arch/csky/kernel/entry.S: Assembler messages: arch/csky/kernel/entry.S:224: Error: Operand 2 immediate is overflow. Signed-off-by: Guo Ren <[email protected]>
1 parent a13d588 commit bd11aab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

arch/csky/include/asm/thread_info.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ static inline struct thread_info *current_thread_info(void)
5454
#define TIF_SIGPENDING 0 /* signal pending */
5555
#define TIF_NOTIFY_RESUME 1 /* callback before returning to user */
5656
#define TIF_NEED_RESCHED 2 /* rescheduling necessary */
57-
#define TIF_SYSCALL_TRACE 3 /* syscall trace active */
58-
#define TIF_SYSCALL_TRACEPOINT 4 /* syscall tracepoint instrumentation */
59-
#define TIF_SYSCALL_AUDIT 5 /* syscall auditing */
60-
#define TIF_UPROBE 6 /* uprobe breakpoint or singlestep */
57+
#define TIF_UPROBE 3 /* uprobe breakpoint or singlestep */
58+
#define TIF_SYSCALL_TRACE 4 /* syscall trace active */
59+
#define TIF_SYSCALL_TRACEPOINT 5 /* syscall tracepoint instrumentation */
60+
#define TIF_SYSCALL_AUDIT 6 /* syscall auditing */
6161
#define TIF_POLLING_NRFLAG 16 /* poll_idle() is TIF_NEED_RESCHED */
6262
#define TIF_MEMDIE 18 /* is terminating due to OOM killer */
6363
#define TIF_RESTORE_SIGMASK 20 /* restore signal mask in do_signal() */

0 commit comments

Comments
 (0)