summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2003-01-15 15:51:38 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2003-01-15 15:51:38 -0800
commitbb1861096795b13639643fd3a0d2292112e00a53 (patch)
tree65d7d4165054310ca5025d23bd013fd9f2fe7f83
parent8935afea7b93b320221bd185604738c147e8a04f (diff)
[PATCH] compat_{old_}sigset_t generic part
This creates compat_sigset_t and compat_old_sigset_t i.e. just the types. This is just the generic part, the architecture specific parts will be sent to respective maintainers.
-rw-r--r--include/linux/compat.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h
index 6a1ab40649f8..1240626fd7ef 100644
--- a/include/linux/compat.h
+++ b/include/linux/compat.h
@@ -33,6 +33,12 @@ struct compat_tms {
compat_clock_t tms_cstime;
};
+#define _COMPAT_NSIG_WORDS (_COMPAT_NSIG / _COMPAT_NSIG_BPW)
+
+typedef struct {
+ compat_sigset_word sig[_COMPAT_NSIG_WORDS];
+} compat_sigset_t;
+
extern int cp_compat_stat(struct kstat *, struct compat_stat *);
extern int get_compat_flock(struct flock *, struct compat_flock *);
extern int put_compat_flock(struct flock *, struct compat_flock *);