]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
csky/mm: Fixup export invalid_pte_table symbol
authorGuo Ren <guoren@linux.alibaba.com>
Mon, 30 Dec 2019 07:53:37 +0000 (15:53 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Mar 2020 06:18:28 +0000 (07:18 +0100)
commitfc55e0de8473d4c84781aea58d8668ef7ac84522
tree6cfe5d569b88f943e1d0b735f80797a5adf3869d
parentfdcdc6f3965c208db8b55c5288a05d6ea0ba092d
csky/mm: Fixup export invalid_pte_table symbol

[ 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@linux.alibaba.com>
Cc: Mo Qihui <qihui.mo@verisilicon.com>
Cc: Zhange Jian <zhang_jian5@dahuatech.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/csky/mm/init.c