From patchwork Sat Apr 13 16:30:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 10899507 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4164C13B5 for ; Sat, 13 Apr 2019 16:31:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E8FD628D14 for ; Sat, 13 Apr 2019 16:31:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DB88728D18; Sat, 13 Apr 2019 16:31:21 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 8B37828D14 for ; Sat, 13 Apr 2019 16:31:21 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=7jmRbBRQ/mzppGcuMPoAfAs8WWpo54FYMk5RPOovKAQ=; b=Pz3hr/QKtI+JLh vcKrTwWSFGBcLUDEZWL6Ka3X7Gg2w3Ikq5I1rChvbssm1B3v6deIro1lnWcIRl2d09zJM5LO8xZ9O LU2iHfa9bScG/FTCM2k9i57xuh+chkPWVTmcjJOIP2HlsQyHVyAbNBhi32O6EsDZN/X/oqYBlMQ2i DroP6VPfbL6mppy7/iEDqKEia0KNHUfShzPlaMQD5HVHmOMytknOMw2k7fSNf77oV2E92UlcCnJwA dJwP+C7m5Roqisg+67JHNpZgWZsfFaDDr+lMWagq5ODF00KANTR5EZvrsb6r1GqVcNHKzCnq1EYIu HRsiARUSThS4lJ1NHAjQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hFLYj-00086G-7O; Sat, 13 Apr 2019 16:31:17 +0000 Received: from mout.gmx.net ([212.227.15.18]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hFLYc-00085o-QY for linux-arm-kernel@lists.infradead.org; Sat, 13 Apr 2019 16:31:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1555173064; bh=xkBRSWUEj0/UfcEeS3vCROCM0B0nHpxZ5MVxtsBeg8U=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=ACvZS26tB0rKTvJn9APPS5FrsJKp6n1X3U+BqnkZoJ171Ke8yvqwbVVduEw9giq6R Gc833ZUsa4uZgPkWhM2YhwQzbvz+il3BKU0IbSmjronuIJsaMYnXPeJtodcRu+TuIo 6o9fPCfY9O/qDOBXJJ9HdZllmh1phA2zt9jZrPaw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([84.118.159.3]) by mail.gmx.com (mrgmx001 [212.227.17.184]) with ESMTPSA (Nemesis) id 0Lev1D-1gW9Jv2aHX-00qn2K; Sat, 13 Apr 2019 18:31:04 +0200 From: Heinrich Schuchardt To: Russell King Subject: [PATCH 1/1] arm: mm: Export __sync_icache_dcache() for xen-privcmd Date: Sat, 13 Apr 2019 18:30:52 +0200 Message-Id: <20190413163052.11407-1-xypron.glpk@gmx.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:AzDUzibd36FOOQJxaC6fIZllBiq7Mn1e8uBjDFef53QzS9zOeAu SJh3GGeTu4IGsEB2GN5k/SZMn0iRbT44T7tPyi5M48PZaTS3QKRO3jYsV6PWjQhgaNGly3k NkQ/bqWiNtICI0y81YZ6rpkwEebAvVmmy1v1BeyWJ9Fban2qRzNRK5hYp5BpvAjN3KcYJH9 W3aBFqR3YmRpV7NiV9UXQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:h6FIh+ZF2Aw=:9MMWxFt5lwPXIdvEaHmDZV 3mAZ2+jrnD5Cv8KRADik84+/g+dMLwWGyxnPa0j7q+Xy4PHq5wrvbEgXmvX5gt3VioJcpJAIw YMeMg9E7S+x+MghxW/O7p1SBGFzfepPXhQefmfe0rjFsye0P/F1BPgayokqJHbJma1hyDsmP1 k2a/jUAz9QT9fNmjodUPyoG2mzCkay2y8u5mODftQewYBEYwvG8Gl8wrLBoC6BBxgnsWyRSbO thLlfN8b8q7ojOoqVYNtGxy3ZNvx6yUUXxCsxTENG+DPiNtI1L7lBdRZ3uDRqGTFkXqnj50j+ 5inUQB9E7/+jDKlHvYSvBhZaqTWVW1egsrLXH3uhaQAqeAx6aM6ceU9Ej8mS3a3ZJqKaGILLi 2w38BbXWHFq/Ctki39y9EjmkAV25JcTD3myac8D6pRMt9DMmbEvi810t+rSk/E07bBxXan5Ec KycD/iO/W4mtHKeFu1v8BEEOAJqzQFhGIxg0jqSfGWLKhj03rgA/34Qj8YJpSS1C0Ii+bMncX 8SSCz/3cwJLJ3jmJZvsd8hhTJIy0+Ti/Hlm4BtLAPvOzaWNtI4eKgC3371f19KNipxElcCOg1 2zujpbuJaLebryfmp7FfY/h4MXB1lpu40/coUzJF4jJpkh22EJGhwcSUPDnR7WD2jasf7bqjI Lkq/9+NWgLvA/MMu1KEArSOqqGMe1q8tYqUOU1CQfidztyCQVQ60baq4nA2nrR34XzHwchCZs RBaAbEX78mcFpRtq7rXdNt8seQ1Mmk0S8pzUm8fTrPPMwv9SfdmgBXAxUTFd6zYF7lbFZpRJN GL1kGSBZBQ63RDSPtysHPtq6ouWKEyAUc+wI8yWYa1EVC6o6VZkrU4t96dvMP2x+SGljSEkfd lOhPB7dt66/c/vA2K7XXmJoWUoC3hsE2AVctxLabWx1etaw3b/DeyKWeihdycG X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190413_093111_273673_F797C14E X-CRM114-Status: UNSURE ( 7.02 ) X-CRM114-Notice: Please train this message. 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: stable@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Heinrich Schuchardt 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 This patch avoids ERROR: "__sync_icache_dcache" [drivers/xen/xen-privcmd.ko] undefined! observed when compiling v4.19.34. The xen-privcmd driver, which can be modular, calls set_pte_at() which in turn may call __sync_icache_dcache(). Cc: stable@vger.kernel.org Signed-off-by: Heinrich Schuchardt --- arch/arm/mm/flush.c | 1 + 1 file changed, 1 insertion(+) -- 2.20.1 diff --git a/arch/arm/mm/flush.c b/arch/arm/mm/flush.c index 58469623b015..5345f86c56d2 100644 --- a/arch/arm/mm/flush.c +++ b/arch/arm/mm/flush.c @@ -295,6 +295,7 @@ void __sync_icache_dcache(pte_t pteval) if (pte_exec(pteval)) __flush_icache_all(); } +EXPORT_SYMBOL_GPL(__sync_icache_dcache); #endif /*