[Top] [All Lists]

Re: [PATCH] MIPS: uapi/asm/siginfo.h: Fix GCC 4.1.2 compilation

To: "Maciej W. Rozycki" <>
Subject: Re: [PATCH] MIPS: uapi/asm/siginfo.h: Fix GCC 4.1.2 compilation
From: Ralf Baechle <>
Date: Tue, 30 Jul 2013 18:16:32 +0200
In-reply-to: <>
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
Original-recipient: rfc822;
References: <>
User-agent: Mutt/1.5.21 (2010-09-15)
On Sun, Jul 28, 2013 at 09:20:25PM +0100, Maciej W. Rozycki wrote:

>  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 <>

Thanks, applied.


<Prev in Thread] Current Thread [Next in Thread>