[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110105075737.GB23889@linux-sh.org>
Date: Wed, 5 Jan 2011 16:57:38 +0900
From: Paul Mundt <lethal@...ux-sh.org>
To: roel kluin <roel.kluin@...il.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>, linux-sh@...r.kernel.org
Subject: Re: [PATCH] sh: correct definitions to access stack pointers
On Sat, Jan 01, 2011 at 07:36:36PM +0100, roel kluin wrote:
> A definition like:
>
> #define regs_return_value(regs) ((regs)->regs[0])
>
> called with regs_return_value(foo) will be preprocessed to:
>
> ((foo)->foo[0])
> ^^^
> So to fix this to ensure the preprocessor compiles such calls correctly.
>
> Signed-off-by: Roel Kluin <roel.kluin@...il.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists