[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <577f22f3-ff16-05a0-8204-39e86d47dd9f@gmail.com>
Date: Thu, 15 Jun 2017 16:23:44 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: linux-arm-kernel@...ts.infradead.org
Cc: Russell King <linux@...linux.org.uk>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will.deacon@....com>,
Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
open list <linux-kernel@...r.kernel.org>,
"open list:GENERIC INCLUDE/ASM HEADER FILES"
<linux-arch@...r.kernel.org>, Dave Gerlach <d-gerlach@...com>,
Tony Lindgren <tony@...mide.com>, Keerthy J <j-keerthy@...com>,
Alexandre Belloni <alexandre.belloni@...e-electrons.com>,
linux-omap@...r.kernel.org, Shawn Guo <shawnguo@...nel.org>
Subject: Re: [PATCH 1/3] ARM: Generalize fncpy implementation
On 06/15/2017 04:21 PM, Florian Fainelli wrote:
> ARM's fncpy implementation is actually suitable for a large number of
> platforms since the only assumption it makes is just the function's
> alignment (8 bytes) which also happens to fulfil other architectures,
> including but not limited to ARM64.
>
> Signed-off-by: Florian Fainelli <f.fainelli@...il.com>
> ---
> arch/arm/include/asm/fncpy.h | 77 ++----------------------------------
> include/asm-generic/fncpy.h | 94 ++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 97 insertions(+), 74 deletions(-)
> create mode 100644 include/asm-generic/fncpy.h
>
> diff --git a/arch/arm/include/asm/fncpy.h b/arch/arm/include/asm/fncpy.h
> index de5354746924..32465aef7932 100644
> --- a/arch/arm/include/asm/fncpy.h
> +++ b/arch/arm/include/asm/fncpy.h
> @@ -16,79 +16,8 @@
> * along with this program; if not, write to the Free Software
> * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
> +#ifndef _ASMARM_FNCPY_H
and of course I missed a
#define _ASMARM_FNCPY_H
I will wait for feedback on whether this is acceptable before
resubmitting...
--
Florian
Powered by blists - more mailing lists