MIPS: uapi/asm/siginfo.h: Fix GCC 4.1.2 compilation
authorMaciej W. Rozycki <macro@linux-mips.org>
Sun, 28 Jul 2013 20:20:25 +0000 (21:20 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 30 Jul 2013 16:40:40 +0000 (18:40 +0200)
commit1d3e2d79a7d5ab56b382ea96b64c4daa9d6f0ce4
tree7369e43f4d68f32789ce47643139aea224d56472
parent7ad18dd03c426b017df12a45a56e5b36d5976afb
MIPS: uapi/asm/siginfo.h: Fix GCC 4.1.2 compilation

It wasn't until GCC 4.3 I believe that the __SIZEOF_*__ predefined macros
were added.  The change below switches <uapi/asm/siginfo.h> to the
_MIPS_SZLONG macro so that compilation with e.g. GCC 4.1.2 succeeds.
This is a user API header so I think this is even more important, for
older userland support.  The change adds an unsuccessful default too, to
catch any compiler configuration oddities.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5630/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/uapi/asm/siginfo.h