From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EFE7AC433E0 for ; Tue, 12 Jan 2021 13:00:33 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7479B23117 for ; Tue, 12 Jan 2021 13:00:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7479B23117 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-snps-arc-bounces+linux-snps-arc=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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=Zpw4CfMq0+9QS3sPx3W50Xq5MxVB1egPeLvHXkN02bM=; b=f+bb4UwB2fWrpabMcWRtJOnKi y2Rtdz8+SEcgNXqtf/kLMBvf+p8Nu1k21D4KapQwmmEP5WnerMEs551BNsLWZsaIOd4SuSZtwPufs EFcANuBZNaXSF8/meaNdE/E5p3XkMXaVirMyt2U1ES7hXU1i248a81bYukRTCW5QSvAd4Y2sNVv/C P3lf3ZaOYWa2MRJHLuMjNztKiagAD94ZSCj3oRpp2vuI5D2w4/wa6yZAYLM3tNBhyJ4khQw8ssNSW B57UxweggkDi4lsADbNevZXsrk2bv11OMAU/3yuMYOj4ffEzeQ4ruHuSH5AVttZZKhdLjLfAQdZmE UzOfya/Yw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kzJHi-0002PX-2X; Tue, 12 Jan 2021 13:00:30 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kzJFM-0001A4-Ht for linux-snps-arc@lists.infradead.org; Tue, 12 Jan 2021 12:58:05 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 316162311B; Tue, 12 Jan 2021 12:58:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610456283; bh=sssGw7VAmhQ9zYNCAgQ46mvt8+d/n+n3c7UnO0Lb+nc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YnoLO1heD023xFcmoWzZAY+JL/AQPvYLFlBfsBf3GRuUDF2rz4iGAUYY7wFhtwC0Q M9b/IYgkerPKvMcza08cB3xohXV16YVjVFzrNB8qN9BUfM6kSX00a5HX1CsBpZgLxL 2KIq00T4ESgMh3KvKg1P5Zyll6e9lppVoDZ0ZZoT8XKO4zjuUTuMYBEubBO+MoFRV9 Oer+iCsjZNjJnyGLoazMhsHujcJ8wf4H5qctrhZtE+gNKZruO4pNZAg6wwO5dIUuwN i+g5gbXJuFCNwJ3zmnZMJlrgn1zQI2uuD6nACVFl5n7Rgjv5CS/NLw1VcAeCqQPRvP ImUm7f1Wk8LQw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH AUTOSEL 4.14 09/13] arch/arc: add copy_user_page() to to fix build error on ARC Date: Tue, 12 Jan 2021 07:57:45 -0500 Message-Id: <20210112125749.71193-9-sashal@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210112125749.71193-1-sashal@kernel.org> References: <20210112125749.71193-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210112_075804_772334_7975FA49 X-CRM114-Status: GOOD ( 12.01 ) X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sasha Levin , Jan Kara , kernel test robot , linux-nvdimm@lists.01.org, Vineet Gupta , Randy Dunlap , Matthew Wilcox , linux-fsdevel@vger.kernel.org, Andrew Morton , linux-snps-arc@lists.infradead.org, Dan Williams Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+linux-snps-arc=archiver.kernel.org@lists.infradead.org From: Randy Dunlap [ Upstream commit 8a48c0a3360bf2bf4f40c980d0ec216e770e58ee ] fs/dax.c uses copy_user_page() but ARC does not provide that interface, resulting in a build error. Provide copy_user_page() in . ../fs/dax.c: In function 'copy_cow_page_dax': ../fs/dax.c:702:2: error: implicit declaration of function 'copy_user_page'; did you mean 'copy_to_user_page'? [-Werror=implicit-function-declaration] Reported-by: kernel test robot Signed-off-by: Randy Dunlap Cc: Vineet Gupta Cc: linux-snps-arc@lists.infradead.org Cc: Dan Williams #Acked-by: Vineet Gupta # v1 Cc: Andrew Morton Cc: Matthew Wilcox Cc: Jan Kara Cc: linux-fsdevel@vger.kernel.org Cc: linux-nvdimm@lists.01.org #Reviewed-by: Ira Weiny # v2 Signed-off-by: Vineet Gupta Signed-off-by: Sasha Levin --- arch/arc/include/asm/page.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arc/include/asm/page.h b/arch/arc/include/asm/page.h index 09ddddf71cc50..a70fef79c4055 100644 --- a/arch/arc/include/asm/page.h +++ b/arch/arc/include/asm/page.h @@ -13,6 +13,7 @@ #ifndef __ASSEMBLY__ #define clear_page(paddr) memset((paddr), 0, PAGE_SIZE) +#define copy_user_page(to, from, vaddr, pg) copy_page(to, from) #define copy_page(to, from) memcpy((to), (from), PAGE_SIZE) struct vm_area_struct; -- 2.27.0 _______________________________________________ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc