Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2351528pxb; Mon, 20 Sep 2021 19:47:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/gDykkzCDExyA3KueVP+UMbrWeaTlxiNyxKwngHj0TNVfvgzat/pOXVns1onrjyKIrTqf X-Received: by 2002:a17:906:6a21:: with SMTP id qw33mr32915011ejc.326.1632192459958; Mon, 20 Sep 2021 19:47:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632192459; cv=none; d=google.com; s=arc-20160816; b=i0/mb28UoTKQ7ZjSjrkehGD4YMesPz2mZwuvGLXgOOnc99mda5v+rdLokrKc523+B+ UHuhNQcaycfWeChSqJ5mvyBvXTsiwaJ6N+f1db8xDgZJm8kyyP/Zs97Z34xgkq8oiZxI SoCAzNK4J1JHwDDCh5Dgd+nP9GpLnndA4tb1Sxk8TvYSGuoxYShQySdD8y+IyzH56rbk 69m0OMUmjC0k8fAAiazAMn61v8yPNPlZJ1beQz0ziRTtkCC2vwJ2zAmO88BGWuBjs5DU QndaERGvxLiVfNGBKuIrF9XU+0BPeio9hRgVoz1Qjq1U7t7TME6xisXITZy2GuSTnz1X mXuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Kv/zEuzslOjg1Z88gFr+GcwSPCp5cAIN0Nh5VfpmzyQ=; b=x9M5TWNC4GusHtDnpnN6uRXKkFQi4BdGezF2+/c909dAc8BJyowWUBvMKaPOtzmd7V +I79TMGaoxBXyc5QWFcKHJzYdUa+unfsTbHjAheUCsZUevsB51Qb6eK4T9p9FYTFbX8L zuZFPedW5FaSQApMyW7Ot3qukrKxobxJ038VT1UsanR299exqmlnno8ZcM1BeVs6d26x H6wgd/scq2uQPHFsc/cj6gxPl25qLC8HWPYcVP9i96sqfCZ3cdVHK4HDuQyEdEvhVlf1 W6o4c+ogXQ4zqLa3X4Vc1sUtVU+eNmAhxTzs2oMQo4ga+dVHpajcLeCNBYBcu6MPf03Q whcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=FY5QgaYw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bi20si17999974ejb.575.2021.09.20.19.47.15; Mon, 20 Sep 2021 19:47:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=FY5QgaYw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352610AbhITSaC (ORCPT + 99 others); Mon, 20 Sep 2021 14:30:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:43182 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351952AbhITSWV (ORCPT ); Mon, 20 Sep 2021 14:22:21 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 881CD632BB; Mon, 20 Sep 2021 17:24:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632158652; bh=1Ba3KhtEOml4S43b/+tqGlRyZIVlN/+Kmc1slN5ZFSw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FY5QgaYwQ80u0ueE8EqFFqbXWYT3OSV3lv0LOq6K5g3ZXFeZrEwuvSBaZFxpP7VKC ciS0mSUxCbR/6lx2aHFn0WbjLBacMCq7L1gU7EOpfkW3P04ADg8UxozdEKXumbLSyx kkFcI+DxMC6gUR4dV5P5rmanHUCFGTShzvx2gSRk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , kernel test robot , Guenter Roeck , linux-snps-arc@lists.infradead.org, Vineet Gupta , Sasha Levin Subject: [PATCH 5.4 253/260] ARC: export clear_user_page() for modules Date: Mon, 20 Sep 2021 18:44:31 +0200 Message-Id: <20210920163939.702656454@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210920163931.123590023@linuxfoundation.org> References: <20210920163931.123590023@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap [ Upstream commit 6b5ff0405e4190f23780362ea324b250bc495683 ] 0day bot reports a build error: ERROR: modpost: "clear_user_page" [drivers/media/v4l2-core/videobuf-dma-sg.ko] undefined! so export it in arch/arc/ to fix the build error. In most ARCHes, clear_user_page() is a macro. OTOH, in a few ARCHes it is a function and needs to be exported. PowerPC exported it in 2004. It looks like nds32 and nios2 still need to have it exported. Fixes: 4102b53392d63 ("ARC: [mm] Aliasing VIPT dcache support 2/4") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: Guenter Roeck Cc: linux-snps-arc@lists.infradead.org Signed-off-by: Vineet Gupta Signed-off-by: Sasha Levin --- arch/arc/mm/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arc/mm/cache.c b/arch/arc/mm/cache.c index a2fbea3ee07c..102418ac5ff4 100644 --- a/arch/arc/mm/cache.c +++ b/arch/arc/mm/cache.c @@ -1123,7 +1123,7 @@ void clear_user_page(void *to, unsigned long u_vaddr, struct page *page) clear_page(to); clear_bit(PG_dc_clean, &page->flags); } - +EXPORT_SYMBOL(clear_user_page); /********************************************************************** * Explicit Cache flush request from user space via syscall -- 2.30.2