aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/csky
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2019-12-30 15:53:37 +0800
committerGuo Ren <guoren@linux.alibaba.com>2020-02-21 15:43:24 +0800
commit7f4a567332f035ab16b29010fbd04a0f10183c77 (patch)
treef1848fc1647826b7a0a3424c3e098c2c588af9c3 /arch/csky
parentcsky: Separate fixaddr_init from highmem (diff)
downloadwireguard-linux-7f4a567332f035ab16b29010fbd04a0f10183c77.tar.xz
wireguard-linux-7f4a567332f035ab16b29010fbd04a0f10183c77.zip
csky/mm: Fixup export invalid_pte_table symbol
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>
Diffstat (limited to 'arch/csky')
-rw-r--r--arch/csky/mm/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/csky/mm/init.c b/arch/csky/mm/init.c
index 322eb7bd7962..dbb4b2dfe4b7 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);