From patchwork Thu Jun 15 23:21:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 9790389 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 AD288602CB for ; Thu, 15 Jun 2017 23:22:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F33E284DC for ; Thu, 15 Jun 2017 23:22:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 938BD28567; Thu, 15 Jun 2017 23:22:18 +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 3A866284DC for ; Thu, 15 Jun 2017 23:22:18 +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=d7YCmYDhufP2L5zkHvoetjQTIp asfULaSU+nBC0KtzaZ059iV+illPA2u90wc+4fvLMTeApeqrDJ3xQq/L7DthFm/pC/mnvMi0pKuU7 3dLwmOyNeJoBEVe04BtIqxN4kNF7njshrdBFFvN8vvUGRTksLjH7iSdixacT6I5QgjkXYIjfplsCT Y3kl6Ni3fUZpr+9bAUQdIa+0SEt8wCfrCrAU9u/EYznPO9fmY7WsIiUpM3zqJx+tkwG1czfQ7j8j5 Vv4eI32WmqwR/+/9MNSA1T4kq5AdUIknyzzRZgoETSlec53lLGzGrTQ19YiwEzH59NyNfugjMdha6 qiBP1qpQ==; 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 1dLe5g-0004We-Vs; Thu, 15 Jun 2017 23:22:17 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dLe5L-0003yb-KF for linux-arm-kernel@lists.infradead.org; Thu, 15 Jun 2017 23:21:58 +0000 Received: by mail-wm0-x241.google.com with SMTP id d17so2113487wme.3 for ; Thu, 15 Jun 2017 16:21:35 -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=EERhrN3YvaFbv0YXZeDd5YmPzw88luxHUP6EsiD9vIgkeMaHxi/z03ZAXu6XlVByP2 ovErPyIOOX+ciDvt+Ke4tRmTX0aPOeDR95PA1vXkc5gj8dEBv9LLpYkdR1P/YQe+t55c h+KZOonSS5ONLuQ0H2Hj8pdslwqy9UgcqXHWN81PCSThRT7xjWS4dt+Yz/U4z68/C4AQ r5RuVrKtXqemjZR8D9Vo+uT5zHtxbHzX439eQ1ZsZtuFu1wl3/yybyVw05LkBqjdugqO Y+LVYhcph9/eAlv3avJo3QoXw06BhgfHdb7x0RILCGp+cDCSsGnrIkbZduOUeIG2r2/T LspA== 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=hsZqjYQNx/6RmvSVP45vnd0YxUIRCcCi9lbFdJ++6JDOx2cQHzCL/Il3uLiQAfQUFj YVFlAPlRaBfJ0+0a3c0iFjgWM1JFfYaNo+puKPtH3zQyFWkneE9n/2nYmHEbet5Fe/w6 8kwHZKXPZAz2CjpUzxxWRAJdZGCgTCyAs4BeYGu1zxnJxJZGBCf9F5XL04iXqdgMOHss NhglT2Yma4Q64kQiy6Tth3d1WNd2KJtsCv1w9DZAfUM9+usax/6ceqyySRJn5l5nzBif 5bLd6HgAnnKqP5TDNcqdIkn0GbDrdXZ1ZXuRdamW1RPvx7uyD8T2F+2wC3S603gth6IT LYxw== X-Gm-Message-State: AKS2vOzUAy9JWo5FjYxw6n5SugTmbfOzWkU/89XpMQSHaHZSs2J6P1s8 IifQqrlwpHmwkV5+VJc= X-Received: by 10.28.59.132 with SMTP id i126mr522224wma.125.1497568893620; Thu, 15 Jun 2017 16:21:33 -0700 (PDT) Received: from fainelli-desktop.broadcom.com ([192.19.255.250]) by smtp.gmail.com with ESMTPSA id b30sm881046wra.42.2017.06.15.16.21.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Jun 2017 16:21:32 -0700 (PDT) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/3] arm64: Provide a fncpy implenentation Date: Thu, 15 Jun 2017 16:21:16 -0700 Message-Id: <20170615232117.29727-3-f.fainelli@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170615232117.29727-1-f.fainelli@gmail.com> References: <20170615232117.29727-1-f.fainelli@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170615_162156_013606_CCADCF04 X-CRM114-Status: GOOD ( 13.00 ) 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 , Keerthy J , Greg Kroah-Hartman , Alexandre Belloni , linux-omap@vger.kernel.org, Shawn Guo 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 */