Skip to content

Commit

Permalink
symbol: gpl: export pud_offset/p4d_offset symbol
Browse files Browse the repository at this point in the history
export pud_offset/p4d_offset symbol

Signed-off-by: Han Gao <gaohan@iscas.ac.cn>
Signed-off-by: Han Gao <rabenda.cn@gmail.com>
  • Loading branch information
RevySR authored and opsiff committed Sep 4, 2024
1 parent 76c8cef commit 6d2bace
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/riscv/mm/pgtable.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ pud_t *pud_offset(p4d_t *p4d, unsigned long address)

return (pud_t *)p4d;
}
EXPORT_SYMBOL_GPL(pud_offset);

p4d_t *p4d_offset(pgd_t *pgd, unsigned long address)
{
Expand All @@ -44,6 +45,7 @@ p4d_t *p4d_offset(pgd_t *pgd, unsigned long address)

return (p4d_t *)pgd;
}
EXPORT_SYMBOL_GPL(p4d_offset);
#endif

#ifdef CONFIG_HAVE_ARCH_HUGE_VMAP
Expand Down

0 comments on commit 6d2bace

Please sign in to comment.