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=-9.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,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 E7BACC10F27 for ; Tue, 10 Mar 2020 12:57:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C0EE72468E for ; Tue, 10 Mar 2020 12:57:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583845073; bh=wy9W+fQwofwFUAdAK7CWRsY2cm5mGzcAMji3HmIrySs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=weBrndOBGqaLQdkPNRVJe+5lxg3Ns9pF9JBM11ZB/Fm248uw2nq/2dJ8YEIE9MLjp GTEhPSK7t0B1zj5JDuY3hIz8YDpwJyhBU0gKBTJCvcJRx43r9hWV127DnZbe8KAgQe Hjb15X+trEK47Ev2IuiBPhxhgRjjjXuPDCYikfi0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726712AbgCJM5w (ORCPT ); Tue, 10 Mar 2020 08:57:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:37658 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729827AbgCJM5s (ORCPT ); Tue, 10 Mar 2020 08:57:48 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E2DA32467D; Tue, 10 Mar 2020 12:57:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583845068; bh=wy9W+fQwofwFUAdAK7CWRsY2cm5mGzcAMji3HmIrySs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TjxmSC31qpOC0vCQUFyYFCzLXW/2U04tK4DqIB9oIxSnOnwI1Qr8CK8NS7uaJCUAH JCPGKy0IR4V+uxyhpHvdKKrbWdeHsHQFmdBv/rib5Vw4r5fQapVMwVobq/mV4qLtpJ aUL/aFDfVxC+PiFbwlW4yBz9gG/1dKJ34P5AYV4E= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Guo Ren , Mo Qihui , Zhange Jian , Sasha Levin Subject: [PATCH 5.5 051/189] csky/mm: Fixup export invalid_pte_table symbol Date: Tue, 10 Mar 2020 13:38:08 +0100 Message-Id: <20200310123644.664820070@linuxfoundation.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200310123639.608886314@linuxfoundation.org> References: <20200310123639.608886314@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Guo Ren [ Upstream commit 7f4a567332f035ab16b29010fbd04a0f10183c77 ] There is no present bit in csky pmd hardware, so we need to prepare invalid_pte_table for empty pmd entry and the functions (pmd_none & pmd_present) in pgtable.h need invalid_pte_talbe to get result. If a module use these functions, we need export the symbol for it. Signed-off-by: Guo Ren Cc: Mo Qihui Cc: Zhange Jian Signed-off-by: Sasha Levin --- arch/csky/mm/init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/csky/mm/init.c b/arch/csky/mm/init.c index d4c2292ea46bc..00e96278b3776 100644 --- a/arch/csky/mm/init.c +++ b/arch/csky/mm/init.c @@ -31,6 +31,7 @@ pgd_t swapper_pg_dir[PTRS_PER_PGD] __page_aligned_bss; pte_t invalid_pte_table[PTRS_PER_PTE] __page_aligned_bss; +EXPORT_SYMBOL(invalid_pte_table); unsigned long empty_zero_page[PAGE_SIZE / sizeof(unsigned long)] __page_aligned_bss; EXPORT_SYMBOL(empty_zero_page); -- 2.20.1