Skip to content
Commit 19d86a49 authored by Huacai Chen's avatar Huacai Chen
Browse files

LoongArch: Mark {dmw,tlb}_virt_to_page() exports as non-GPL



Mark {dmw,tlb}_virt_to_page() exports as non-GPL, in order to let
out-of-tree modules (e.g. OpenZFS) be built without errors. Otherwise
we get:

ERROR: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol 'dmw_virt_to_page'
ERROR: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol 'tlb_virt_to_page'

Reported-by: default avatarHaowu Ge <gehaowu@bitmoe.com>
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent 902d75cd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment