From: Maciej W. Rozycki Date: Sun, 28 Jul 2013 20:20:25 +0000 (+0100) Subject: MIPS: uapi/asm/siginfo.h: Fix GCC 4.1.2 compilation X-Git-Tag: v3.11-rc4~23^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d3e2d79a7d5ab56b382ea96b64c4daa9d6f0ce4;p=pandora-kernel.git 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 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 Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5630/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed