[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87k0ybxjby.fsf@mpe.ellerman.id.au>
Date: Fri, 07 Aug 2020 12:48:01 +1000
From: Michael Ellerman <mpe@...erman.id.au>
To: Christoph Hellwig <hch@...radead.org>,
Christophe Leroy <christophe.leroy@...roup.eu>
Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] powerpc/signal: Move and simplify get_clean_sp()
Christoph Hellwig <hch@...radead.org> writes:
> On Thu, Aug 06, 2020 at 08:50:20AM +0000, Christophe Leroy wrote:
>> get_clean_sp() is only used in kernel/signal.c . Move it there.
>>
>> And GCC is smart enough to reduce the function when on PPC32, no
>> need of a special PPC32 simple version.
>
> What about just open coding it in the only caller, which would seem even
> cleaner?
+1
cheers
Powered by blists - more mailing lists