diff options
author | James Hogan <james.hogan@imgtec.com> | 2016-02-08 18:43:51 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-05-13 14:02:11 +0200 |
commit | 987e5b834467c9251ca584febda65ef8f66351a9 (patch) | |
tree | 0f432aa6e06c7f862002b55844f61eecaf0c4615 /arch/mips/include/asm/elf.h | |
parent | ca9eb49aa9562eaadf3cea071ec7018ad6800425 (diff) | |
download | op-kernel-dev-987e5b834467c9251ca584febda65ef8f66351a9.zip op-kernel-dev-987e5b834467c9251ca584febda65ef8f66351a9.tar.gz |
MIPS: Fix uapi include in exported asm/siginfo.h
Since commit 8cb48fe169dd ("MIPS: Provide correct siginfo_t.si_stime"),
MIPS' uapi/asm/siginfo.h has included uapi/asm-generic/siginfo.h
directly before defining MIPS' struct siginfo, in order to get the
necessary definitions needed for the siginfo struct without the generic
copy_siginfo() hitting compiler errors due to struct siginfo not yet
being defined.
Now that the generic copy_siginfo() is moved out to linux/signal.h we
can safely include asm-generic/siginfo.h before defining the MIPS
specific struct siginfo, which avoids the uapi/ include as well as
breakage due to generic copy_siginfo() being defined before struct
siginfo.
Reported-by: Christopher Ferris <cferris@google.com>
Fixes: 8cb48fe169dd ("MIPS: Provide correct siginfo_t.si_stime")
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Petr Malat <oss@malat.biz>
Cc: linux-mips@linux-mips.org
Cc: <stable@vger.kernel.org> # 4.0-
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/elf.h')
0 files changed, 0 insertions, 0 deletions