From bb1861096795b13639643fd3a0d2292112e00a53 Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Wed, 15 Jan 2003 15:51:38 -0800 Subject: [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. --- include/linux/compat.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/linux') 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 *); -- cgit v1.2.3