sigset_t32 broken?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux