diff options
author | Jeff Dike <jdike@addtoit.com> | 2006-01-18 20:44:02 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-18 22:20:30 -0500 |
commit | 2fc10620e741153329e2f1cbcde76e526f501410 (patch) | |
tree | d93344bc160f4f2455d4a4947d6347c1ff9b6fd2 /include | |
parent | f27201da5c8f118cfe266f51447bdd108d5f081d (diff) |
[PATCH] uml: add TIF_RESTORE_SIGMASK support
Add support for TIF_RESTORE_SIGMASK. I copy the i386 handling of the flag.
sys_sigsuspend is also changed to follow i386.
Also a bit of cleanup -
turn an if into a switch
get rid of a couple more emacs formatting comments
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-um/thread_info.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/include/asm-um/thread_info.h b/include/asm-um/thread_info.h index 705c71972c32..17b6b07c4332 100644 --- a/include/asm-um/thread_info.h +++ b/include/asm-um/thread_info.h | |||
@@ -69,6 +69,7 @@ static inline struct thread_info *current_thread_info(void) | |||
69 | #define TIF_RESTART_BLOCK 4 | 69 | #define TIF_RESTART_BLOCK 4 |
70 | #define TIF_MEMDIE 5 | 70 | #define TIF_MEMDIE 5 |
71 | #define TIF_SYSCALL_AUDIT 6 | 71 | #define TIF_SYSCALL_AUDIT 6 |
72 | #define TIF_RESTORE_SIGMASK 7 | ||
72 | 73 | ||
73 | #define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE) | 74 | #define _TIF_SYSCALL_TRACE (1 << TIF_SYSCALL_TRACE) |
74 | #define _TIF_SIGPENDING (1 << TIF_SIGPENDING) | 75 | #define _TIF_SIGPENDING (1 << TIF_SIGPENDING) |
@@ -76,16 +77,6 @@ static inline struct thread_info *current_thread_info(void) | |||
76 | #define _TIF_POLLING_NRFLAG (1 << TIF_POLLING_NRFLAG) | 77 | #define _TIF_POLLING_NRFLAG (1 << TIF_POLLING_NRFLAG) |
77 | #define _TIF_MEMDIE (1 << TIF_MEMDIE) | 78 | #define _TIF_MEMDIE (1 << TIF_MEMDIE) |
78 | #define _TIF_SYSCALL_AUDIT (1 << TIF_SYSCALL_AUDIT) | 79 | #define _TIF_SYSCALL_AUDIT (1 << TIF_SYSCALL_AUDIT) |
80 | #define _TIF_RESTORE_SIGMASK (1 << TIF_RESTORE_SIGMASK) | ||
79 | 81 | ||
80 | #endif | 82 | #endif |
81 | |||
82 | /* | ||
83 | * Overrides for Emacs so that we follow Linus's tabbing style. | ||
84 | * Emacs will notice this stuff at the end of the file and automatically | ||
85 | * adjust the settings for this buffer only. This must remain at the end | ||
86 | * of the file. | ||
87 | * --------------------------------------------------------------------------- | ||
88 | * Local variables: | ||
89 | * c-file-style: "linux" | ||
90 | * End: | ||
91 | */ | ||