Hi all,
Cut&paste from linux/asm/mips64/signal.h:
#define _NSIG 128
#define _NSIG_BPW 64
#define _NSIG_WORDS (_NSIG / _NSIG_BPW)
typedef struct {
long sig[_NSIG_WORDS];
} sigset_t;
#define _NSIG32 128
#define _NSIG_BPW32 32
#define _NSIG_WORDS32 (_NSIG32 / _NSIG_BPW32)
typedef struct {
long sig[_NSIG_WORDS32];
} sigset_t32;
Shouldn't those two long's be replaced with u64 and u32
respectively? Is the second struct really meant to be twice the
size the first?
Cheers,
Andrew