From patchwork Fri Jun 16 21:28:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 9793741 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AFDBF60231 for ; Fri, 16 Jun 2017 21:29:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9FF1628671 for ; Fri, 16 Jun 2017 21:29:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 930E22869C; Fri, 16 Jun 2017 21:29:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2CCA428671 for ; Fri, 16 Jun 2017 21:29:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=hx9APyAOLyDPMe541ETpMRqjPUi53pb0JbZoIv1Qv8A=; b=sh8yBZqJ1K6eGORc2BwsJ/znoE 12RP0aj8Az2ZLbpbe3hsaWDQkm7kC6KzDrt5P3Bs/yBGb3sWisLHdngexWs5lbIgjP36E4YT69wK+ 9nGdznhFanzVccUZBUacyn3PPzxPedviAKO+2aly14IQJwHIaLAY5ksPqUkvMSwNylU70KzLXSt/W A9tZCLDy+1iXMu+7rQ4q09raFbP/Q9DbG1tcbL/cvwaBNadKzCF5jjRCTSaMVB8/2Kwm8/0WTQ3D9 C24hBKKWEY3LZx+U0D0vaw5mRlJzmW0SiWtw/ISKwB73jH3x6BJKrG01Fjs/3WzCZv8eJpJF7ZiXW S/d848Fw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dLynn-0003R0-7p; Fri, 16 Jun 2017 21:29:11 +0000 Received: from mail-qt0-x241.google.com ([2607:f8b0:400d:c0d::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dLynL-0002oY-CL for linux-arm-kernel@lists.infradead.org; Fri, 16 Jun 2017 21:28:46 +0000 Received: by mail-qt0-x241.google.com with SMTP id x58so13033861qtc.2 for ; Fri, 16 Jun 2017 14:28:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=FFzzQ/PmdWytGH3FeySGeSm11YoKpZPIvTOoSz7uo8c=; b=gicHf6oEQ3uZ840TpolB2dj6nYIqJypmhd4UuxXgi3IF32oD1oePa4WrEfoOh/w1RA xlNYuFb7V74kf0I4Cc/nTSDcNae0T3ISvHN7qswqYaWmIABqQxan5TtBlCLTwfp2w3xl 4tblzTjOzAtqWQ+cdsKonb85pJKa0PD6eLIIhNQbZvxt7WEfmzt464Lvatque6SgAzog mjhHXg86NOHbGFm12oLH91a8nzVkFI/YEBTMgMP1watYdCciAgZ2FeguZuvm0yD8RP/A 4V56rE6Jqa+1kJBxB6+ye/1NcHynSWmIwVTyxfkIN/ianknWLaScndMgZ9FAZXI+zDg4 jbAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=FFzzQ/PmdWytGH3FeySGeSm11YoKpZPIvTOoSz7uo8c=; b=cVjuzVgyl2Xg1XygNXH2roFb1t45Ll7cpH4pypAK+hbjHHfj6cPx+nZ7pezDF1b28d Q+5heew+E56mSvpO+422VIbbLBmrWDMp0R38AuM6Kq0O3O2Edx/KHh95piFvCS74qyUJ 1kbMN+QC+Hk7difZkRjnbDcKy4zA7nIZtWA50ByOCk+48R+Jlmmu73HXIv3LBFiqm9iI ITh+FGdlxNuZAaEvDWQLCg8xcEULbK+M9novNx6VIjs86r8nY49wMyG0l1I/P7M+iLx1 MZ6m1x6Vr8etFzq/CSNZpzVnRmrBaXnZEzaU+fJzaUs9G+oZZGsbdUac7ThGbgXB0gJv e5FQ== X-Gm-Message-State: AKS2vOymQb1B2BZJlsYE+CEU5ADn4c6kSpkczMwx7zTz0zU0Pt5TB9Q2 RzMZDPPK2qyy8c1m37k= X-Received: by 10.200.52.9 with SMTP id u9mr16069249qtb.231.1497648501934; Fri, 16 Jun 2017 14:28:21 -0700 (PDT) Received: from fainelli-desktop.broadcom.com ([192.19.255.250]) by smtp.gmail.com with ESMTPSA id x32sm2381801qtc.37.2017.06.16.14.28.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Jun 2017 14:28:21 -0700 (PDT) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 3/4] arm64: Provide a fncpy implementation Date: Fri, 16 Jun 2017 14:28:07 -0700 Message-Id: <20170616212808.19073-4-f.fainelli@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170616212808.19073-1-f.fainelli@gmail.com> References: <20170616212808.19073-1-f.fainelli@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170616_142843_552446_B76A1D02 X-CRM114-Status: GOOD ( 12.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "open list:GENERIC INCLUDE/ASM HEADER FILES" , Florian Fainelli , Arnd Bergmann , Dave Gerlach , Tony Lindgren , Catalin Marinas , Will Deacon , Russell King , open list , bcm-kernel-feedback-list@broadcom.com, Greg Kroah-Hartman , Alexandre Belloni , linux-omap@vger.kernel.org, Shawn Guo , Keerthy J MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Utilize the asm-generic/fncpy.h implementation for ARM64 to allow the use of drivers/misc/sram*.c on these platforms as well. Signed-off-by: Florian Fainelli --- arch/arm64/include/asm/fncpy.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 arch/arm64/include/asm/fncpy.h diff --git a/arch/arm64/include/asm/fncpy.h b/arch/arm64/include/asm/fncpy.h new file mode 100644 index 000000000000..578f942f55e4 --- /dev/null +++ b/arch/arm64/include/asm/fncpy.h @@ -0,0 +1,6 @@ +#ifndef __ASMARM64_FNCPY_H +#define __ASMARM64_FNCPY_H + +#include + +#endif /* __ASMARM64_FNCPY_H */