File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ static inline struct thread_info *current_thread_info(void)
8989#define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE)
9090#define _TIF_SIGPENDING (1 << TIF_SIGPENDING)
9191#define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED)
92+ #define _TIF_BREAKPOINT (1 << TIF_BREAKPOINT)
9293#define _TIF_SINGLE_STEP (1 << TIF_SINGLE_STEP)
9394#define _TIF_MEMDIE (1 << TIF_MEMDIE)
9495#define _TIF_CPU_GOING_TO_SLEEP (1 << TIF_CPU_GOING_TO_SLEEP)
@@ -98,16 +99,14 @@ static inline struct thread_info *current_thread_info(void)
9899
99100/* work to do on interrupt/exception return */
100101#define _TIF_WORK_MASK \
101- ((1 << TIF_SIGPENDING) \
102+ (_TIF_SIGPENDING \
102103 | _TIF_NOTIFY_RESUME \
103- | (1 << TIF_NEED_RESCHED) \
104- | (1 << TIF_BREAKPOINT) \
105- | (1 << TIF_RESTORE_SIGMASK))
104+ | _TIF_NEED_RESCHED \
105+ | _TIF_BREAKPOINT)
106106
107107/* work to do on any return to userspace */
108- #define _TIF_ALLWORK_MASK (_TIF_WORK_MASK | (1 << TIF_SYSCALL_TRACE) | \
109- _TIF_NOTIFY_RESUME)
108+ #define _TIF_ALLWORK_MASK (_TIF_WORK_MASK | _TIF_SYSCALL_TRACE)
110109/* work to do on return from debug mode */
111- #define _TIF_DBGWORK_MASK (_TIF_WORK_MASK & ~(1 << TIF_BREAKPOINT) )
110+ #define _TIF_DBGWORK_MASK (_TIF_WORK_MASK & ~_TIF_BREAKPOINT )
112111
113112#endif /* __ASM_AVR32_THREAD_INFO_H */
You can’t perform that action at this time.
0 commit comments