Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2354742pxb; Mon, 20 Sep 2021 19:54:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/3TdkuHpq73dmPOIdPHg/bdUTJxQSZIaFYfGaaZzYRAdxp9KFVX2x4hJFZUe1po+gqMWW X-Received: by 2002:a17:906:eb0f:: with SMTP id mb15mr8943500ejb.113.1632192878263; Mon, 20 Sep 2021 19:54:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632192878; cv=none; d=google.com; s=arc-20160816; b=BWH75WLFSS4v3m+pmYCZd5Y5Zxt2r28DKVed5A384Ir5N9B/hokoFvGT7TaeZ9Kk4l x8lVhm3+yG/TWWytwcKTHRP/uL1HHonVGhnZ5lfwOk9OuzjZ3XH/azN0d5wLHiUPNi+b pwYSjo2w1cIpqorGZUVhLKfPILTcMu388emJaZ0oCS8najLV08/caU/HpG07uv1Cp9ba mwv82d6CnzG4KAxqD1sVNn2wHd7XCC8MF+UdAKZ1RFTXICDUdst0tHiuA4ut5XuAIsHQ 5Z+9rG0XXT29uZlk6O2l/HaCTIE0TrDnjqgib/rtU3srT3IZWWE+JLSMpRwvVQzMyDLy G0Ow== 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=PrI+X71JwLQJ9Burgk228/ZWxXbgpGNYNcvZjeTH3AqBagp3YSnC+pRMaiwvnVNIWp D0HTfyjafnp3S3sgezafvyZHv29a6T4//qsYvLyWi9dO6UEO8dVN1Ujm5BgBYhaJuwUU THr71CGFVLQB71F8ohwV6L9Ivp1ln4XpOzAeEGMb3mfh7eiZzM5YZohWtmLGqs/3NPH8 x6fdOgvo8CsxFRCQY0kgBUcmc378Fd8Ol6lJy19+4BPG+cmNNVWK9zSHyZUuEKW/wx+Z U4traK3pGHvtzM3AopfzP5XQV8HwgSmqArbNhMVc8DR3W9CsyYf+xtK8wND8dIkk1ARN 4E5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Yyltx6OC; 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 8si1782360eje.191.2021.09.20.19.54.14; Mon, 20 Sep 2021 19:54:38 -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=Yyltx6OC; 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 S1354817AbhITS67 (ORCPT + 99 others); Mon, 20 Sep 2021 14:58:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:33186 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1384541AbhITSsT (ORCPT ); Mon, 20 Sep 2021 14:48:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 01FFA6336C; Mon, 20 Sep 2021 17:33:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632159235; bh=1Ba3KhtEOml4S43b/+tqGlRyZIVlN/+Kmc1slN5ZFSw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Yyltx6OCKwF+sIdIPkavVitOuNrq2KibAOo5L46VPHOAICw3EvuzIs3mpS1r5XG1O NC6Csvy/7I/22ymfylJUQFLuGAAIzExXX+PGnP5si2hfFkmgk9WnjWgAZvDAE8x44f SN2L3qalTBoSy6QmaY9TLkHNe2IZKubHOfZOKPwM= 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.14 139/168] ARC: export clear_user_page() for modules Date: Mon, 20 Sep 2021 18:44:37 +0200 Message-Id: <20210920163926.225341881@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210920163921.633181900@linuxfoundation.org> References: <20210920163921.633181900@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