fix siginfo_t for mips
authorSzabolcs Nagy <nsz@port70.net>
Wed, 27 Jan 2016 00:54:25 +0000 (00:54 +0000)
committerRich Felker <dalias@aerifal.cx>
Wed, 27 Jan 2016 03:31:21 +0000 (22:31 -0500)
commit9a3b8f97a160ce292dcf0ef2a9358fa0e11e9ee3
treee48a566d97b06975efc91d8d74d76f2db446f1a8
parent22f84829afa06bba9d220bd0f7b1bce912987297
fix siginfo_t for mips

si_errno and si_code are swapped in mips siginfo_t compared to other
archs and some si_code values are different.  This fix is required
for POSIX timers to work.

based on patch by Dmitry Ivanov.
arch/mips/bits/signal.h
include/signal.h