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: 9790385 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 35B4B602CB for ; Thu, 15 Jun 2017 23:22:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 28C78284DC for ; Thu, 15 Jun 2017 23:22:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1E13F285AD; Thu, 15 Jun 2017 23:22: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=-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 BB827284DC for ; Thu, 15 Jun 2017 23:22:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752529AbdFOXVk (ORCPT ); Thu, 15 Jun 2017 19:21:40 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:35013 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751893AbdFOXVf (ORCPT ); Thu, 15 Jun 2017 19:21:35 -0400 Received: by mail-wm0-f66.google.com with SMTP id d64so2108176wmf.2; Thu, 15 Jun 2017 16:21:34 -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=q0DmRdorPBjG/myx1BwSRW3clw4tvvdr9fYy0qdxZy21qVh4QSgKzs7Eh8TpO46BhO 9mTXjeOzDDEzhf52zMUGpj0gALL2ETuKmlp/RpFvjhLWioKMfrOJPDGqymuAm5f0aYUc mTH48ERINh82PjapJtpJ5WtpRxmBvoMhAuMUbG9YcyTYcQCjHY2Bq6QpmhcGKavXw4eG 7fW3y/nFYAXbLtMmf7s3esa62n2uimfMk/uCh52k4Eyvzza+GRIvqDRBRtARO2tVeLky Aj2LUrTu/IEoNJBxlksg7AWBdv3m0iB7SXIgrS+gnR+mK+2oWu0uicD1O0YZRc3d7lee cCow== X-Gm-Message-State: AKS2vOyvf6UhzUEUkYjV2lKof3+lmziSRULWbKA/7f3qug2gKJRT5Wfs o6sLZZT8z7XDOg== 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 Cc: 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 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> 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 */