diff options
| author | Stephen Rothwell <sfr@canb.auug.org.au> | 2003-01-15 15:51:38 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-01-15 15:51:38 -0800 |
| commit | bb1861096795b13639643fd3a0d2292112e00a53 (patch) | |
| tree | 65d7d4165054310ca5025d23bd013fd9f2fe7f83 /include/linux | |
| parent | 8935afea7b93b320221bd185604738c147e8a04f (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.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/compat.h | 6 |
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 *); |
