Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
971ceb17
Commit
971ceb17
authored
May 31, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avr32: trim masks
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
a925328d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
arch/avr32/include/asm/thread_info.h
arch/avr32/include/asm/thread_info.h
+6
-7
No files found.
arch/avr32/include/asm/thread_info.h
View file @
971ceb17
...
@@ -89,6 +89,7 @@ static inline struct thread_info *current_thread_info(void)
...
@@ -89,6 +89,7 @@ static inline struct thread_info *current_thread_info(void)
#define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE)
#define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE)
#define _TIF_SIGPENDING (1 << TIF_SIGPENDING)
#define _TIF_SIGPENDING (1 << TIF_SIGPENDING)
#define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED)
#define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED)
#define _TIF_BREAKPOINT (1 << TIF_BREAKPOINT)
#define _TIF_SINGLE_STEP (1 << TIF_SINGLE_STEP)
#define _TIF_SINGLE_STEP (1 << TIF_SINGLE_STEP)
#define _TIF_MEMDIE (1 << TIF_MEMDIE)
#define _TIF_MEMDIE (1 << TIF_MEMDIE)
#define _TIF_CPU_GOING_TO_SLEEP (1 << TIF_CPU_GOING_TO_SLEEP)
#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)
...
@@ -98,16 +99,14 @@ static inline struct thread_info *current_thread_info(void)
/* work to do on interrupt/exception return */
/* work to do on interrupt/exception return */
#define _TIF_WORK_MASK \
#define _TIF_WORK_MASK \
(
(1 << TIF_SIGPENDING)
\
(
_TIF_SIGPENDING
\
| _TIF_NOTIFY_RESUME \
| _TIF_NOTIFY_RESUME \
| (1 << TIF_NEED_RESCHED) \
| _TIF_NEED_RESCHED \
| (1 << TIF_BREAKPOINT) \
| _TIF_BREAKPOINT)
| (1 << TIF_RESTORE_SIGMASK))
/* work to do on any return to userspace */
/* work to do on any return to userspace */
#define _TIF_ALLWORK_MASK (_TIF_WORK_MASK | (1 << TIF_SYSCALL_TRACE) | \
#define _TIF_ALLWORK_MASK (_TIF_WORK_MASK | _TIF_SYSCALL_TRACE)
_TIF_NOTIFY_RESUME)
/* work to do on return from debug mode */
/* work to do on return from debug mode */
#define _TIF_DBGWORK_MASK (_TIF_WORK_MASK & ~
(1 << TIF_BREAKPOINT)
)
#define _TIF_DBGWORK_MASK (_TIF_WORK_MASK & ~
_TIF_BREAKPOINT
)
#endif
/* __ASM_AVR32_THREAD_INFO_H */
#endif
/* __ASM_AVR32_THREAD_INFO_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment