Skip to content

Commit

Permalink
csky/mm: Fixup export invalid_pte_table symbol
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Mo Qihui <[email protected]>
Cc: Zhange Jian <[email protected]>
  • Loading branch information
guoren83 committed Feb 21, 2020
1 parent f136008 commit 7f4a567
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/csky/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7f4a567

Please sign in to comment.