[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200310123640.430251045@linuxfoundation.org>
Date: Tue, 10 Mar 2020 13:38:16 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-kernel@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
stable@...r.kernel.org, Guo Ren <guoren@...ux.alibaba.com>,
Mo Qihui <qihui.mo@...isilicon.com>,
Zhange Jian <zhang_jian5@...uatech.com>,
Sasha Levin <sashal@...nel.org>
Subject: [PATCH 5.4 050/168] csky/mm: Fixup export invalid_pte_table symbol
From: Guo Ren <guoren@...ux.alibaba.com>
[ 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 <guoren@...ux.alibaba.com>
Cc: Mo Qihui <qihui.mo@...isilicon.com>
Cc: Zhange Jian <zhang_jian5@...uatech.com>
Signed-off-by: Sasha Levin <sashal@...nel.org>
---
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
Powered by blists - more mailing lists