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: 9793729 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 6C1AE60231 for ; Fri, 16 Jun 2017 21:28:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5DB4928671 for ; Fri, 16 Jun 2017 21:28:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 513C32869C; Fri, 16 Jun 2017 21:28:39 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0DF6428671 for ; Fri, 16 Jun 2017 21:28:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752070AbdFPV20 (ORCPT ); Fri, 16 Jun 2017 17:28:26 -0400 Received: from mail-qt0-f194.google.com ([209.85.216.194]:36806 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752155AbdFPV2X (ORCPT ); Fri, 16 Jun 2017 17:28:23 -0400 Received: by mail-qt0-f194.google.com with SMTP id s33so13049155qtg.3; Fri, 16 Jun 2017 14:28:23 -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=YH/OBgWViO+xZZh1luqfRpqnBg8l2s6O5HpmTIZl+U7+HaNpWvyoXNTcLck/O7YQ1d ickzROvlJhuzg8ece7JLTJBt6kg9zmxVHvNrq8G5ATj/SQzxIn3TuR6vIT2BXm/5zOiK /nxIlcVw/u0Cla50/lydXXNiAkHFXExk2mlc2KwnhbjLNK2QnLyNKj/AVwsVUnfOfXNw wA9IY2dag7G2kIjRmbHIKLPjESQIi8H4XXv38lqV5Y3vorUFmhZPfIBHNc0CGSQXgmrF 5Ru5k649rgfTXv8/xXENAK7F64Tk4JQST8yn9rduhTPBo4FAYIrgAoz8UhvPCcsB4/5D VG+g== X-Gm-Message-State: AKS2vOxhYQAQLZRy5KvhM8pG7426D534PIWl3sFZ0NRU3eKmLA5wuwNK ej+ezGe8EjpQEA== 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 Cc: bcm-kernel-feedback-list@broadcom.com, Florian Fainelli , Russell King , Catalin Marinas , Will Deacon , Arnd Bergmann , Greg Kroah-Hartman , linux-kernel@vger.kernel.org (open list), linux-arch@vger.kernel.org (open list:GENERIC INCLUDE/ASM HEADER FILES), Dave Gerlach , Tony Lindgren , Keerthy J , Alexandre Belloni , linux-omap@vger.kernel.org, Shawn Guo 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> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.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 */