]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Clean up compat_siginfo_t
authorAmanieu d'Antras <amanieu@gmail.com>
Thu, 5 Nov 2015 00:50:24 +0000 (00:50 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 12 Nov 2015 10:35:47 +0000 (11:35 +0100)
commitf7427005ab66b62ca1b4f13162409748c199d5c9
tree317386278ac9c369e7520e9c588c4690425bbf4f
parente0bdf752345b2c959d8aec7b5bc2171a7b52dbab
MIPS: Clean up compat_siginfo_t

While mips can't use the generic compat_siginfo_t directly because
its si_code and si_errno are inverted, we can still make it as
close to the generic version as possible. This makes it easier
to update when new members are added to siginfo_t.

The main changes are adding a missing _sigsys union member and
eliminating the unused _irix_sigchld one.

Signed-off-by: Amanieu d'Antras <amanieu@gmail.com>
Cc: linux-kernel@vger.kernel.org
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11455/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/compat.h