diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-15 07:57:47 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@inhelltoy.tec.linutronix.de> | 2007-10-17 14:17:10 -0400 |
commit | 003a46cfff308ee0d879dfa89b9a7c65b2a481bf (patch) | |
tree | 234552110912d4b9d6519474823e98e1a1726d16 /include/asm-x86/ucontext.h | |
parent | 217d115cd5d7d2bef7db7839b93ce5dc2867c392 (diff) |
x86: unify some more trivial include/asm-x86/ 32/64 variants
Scripted unification.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/ucontext.h')
-rw-r--r-- | include/asm-x86/ucontext.h | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/include/asm-x86/ucontext.h b/include/asm-x86/ucontext.h index 175c8cb59731..50a79f7fcde9 100644 --- a/include/asm-x86/ucontext.h +++ b/include/asm-x86/ucontext.h | |||
@@ -1,13 +1,12 @@ | |||
1 | #ifdef __KERNEL__ | 1 | #ifndef _ASM_X86_UCONTEXT_H |
2 | # ifdef CONFIG_X86_32 | 2 | #define _ASM_X86_UCONTEXT_H |
3 | # include "ucontext_32.h" | 3 | |
4 | # else | 4 | struct ucontext { |
5 | # include "ucontext_64.h" | 5 | unsigned long uc_flags; |
6 | # endif | 6 | struct ucontext *uc_link; |
7 | #else | 7 | stack_t uc_stack; |
8 | # ifdef __i386__ | 8 | struct sigcontext uc_mcontext; |
9 | # include "ucontext_32.h" | 9 | sigset_t uc_sigmask; /* mask last for extensibility */ |
10 | # else | 10 | }; |
11 | # include "ucontext_64.h" | 11 | |
12 | # endif | 12 | #endif /* _ASM_X86_UCONTEXT_H */ |
13 | #endif | ||