summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2003-02-11 05:37:16 -0800
committerVojtech Pavlik <vojtech@suse.cz>2003-02-11 05:37:16 -0800
commit92f777caa84097875cedca5a6fdded6328684ab9 (patch)
tree0e73986b2a798886724a64eda97d1cb563c1e816 /include
parentdaebc586691ee8e9a8255f733529493897592f5a (diff)
[PATCH] x86_64 compatibility layer update
Andi has asked that I send these straight forward compatibility patches to you and he will fix up any merge problems later. These are the outstanding patches for x86_64 against 2.5.60.
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86_64/ia32.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/include/asm-x86_64/ia32.h b/include/asm-x86_64/ia32.h
index c39a426062ee..99ba044a735e 100644
--- a/include/asm-x86_64/ia32.h
+++ b/include/asm-x86_64/ia32.h
@@ -26,28 +26,18 @@ struct ia32_flock64 {
#include <asm/sigcontext32.h>
/* signal.h */
-#define _IA32_NSIG 64
-#define _IA32_NSIG_BPW 32
-#define _IA32_NSIG_WORDS (_IA32_NSIG / _IA32_NSIG_BPW)
-
-typedef struct {
- unsigned int sig[_IA32_NSIG_WORDS];
-} sigset32_t;
-
struct sigaction32 {
unsigned int sa_handler; /* Really a pointer, but need to deal
with 32 bits */
unsigned int sa_flags;
unsigned int sa_restorer; /* Another 32 bit pointer */
- sigset32_t sa_mask; /* A 32 bit mask */
+ compat_sigset_t sa_mask; /* A 32 bit mask */
};
-typedef unsigned int old_sigset32_t; /* at least 32 bits */
-
struct old_sigaction32 {
unsigned int sa_handler; /* Really a pointer, but need to deal
with 32 bits */
- old_sigset32_t sa_mask; /* A 32 bit mask */
+ compat_old_sigset_t sa_mask; /* A 32 bit mask */
unsigned int sa_flags;
unsigned int sa_restorer; /* Another 32 bit pointer */
};
@@ -63,7 +53,7 @@ struct ucontext_ia32 {
unsigned int uc_link;
stack_ia32_t uc_stack;
struct sigcontext_ia32 uc_mcontext;
- sigset32_t uc_sigmask; /* mask last for extensibility */
+ compat_sigset_t uc_sigmask; /* mask last for extensibility */
};
/* This matches struct stat64 in glibc2.2, hence the absolutely