提交 c82b8d71 编写于 作者: L Lijun Fang 提交者: Laibin Qiu

svm: Export symbols for svm module

ascend inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I4UR5Y
CVE: NA

--------------------

Export symbols for svm module.
Signed-off-by: NLijun Fang <fanglijun3@huawei.com>
Reviewed-by: NWeilong Chen <chenweilong@huawei.com>
Signed-off-by: NYongqiang Liu <liuyongqiang13@huawei.com>
上级 92a256ac
...@@ -310,6 +310,7 @@ unsigned long mm_context_get(struct mm_struct *mm) ...@@ -310,6 +310,7 @@ unsigned long mm_context_get(struct mm_struct *mm)
return asid; return asid;
} }
EXPORT_SYMBOL_GPL(mm_context_get);
void mm_context_put(struct mm_struct *mm) void mm_context_put(struct mm_struct *mm)
{ {
...@@ -325,6 +326,7 @@ void mm_context_put(struct mm_struct *mm) ...@@ -325,6 +326,7 @@ void mm_context_put(struct mm_struct *mm)
raw_spin_unlock_irqrestore(&cpu_asid_lock, flags); raw_spin_unlock_irqrestore(&cpu_asid_lock, flags);
} }
EXPORT_SYMBOL_GPL(mm_context_put);
/* Errata workaround post TTBRx_EL1 update. */ /* Errata workaround post TTBRx_EL1 update. */
asmlinkage void post_ttbr_update_workaround(void) asmlinkage void post_ttbr_update_workaround(void)
......
...@@ -2287,6 +2287,7 @@ int iommu_request_dm_for_dev(struct device *dev) ...@@ -2287,6 +2287,7 @@ int iommu_request_dm_for_dev(struct device *dev)
return ret; return ret;
} }
EXPORT_SYMBOL_GPL(iommu_request_dm_for_dev);
const struct iommu_ops *iommu_ops_from_fwnode(struct fwnode_handle *fwnode) const struct iommu_ops *iommu_ops_from_fwnode(struct fwnode_handle *fwnode)
{ {
......
...@@ -91,6 +91,7 @@ static int __read_mostly enable_share_k2u_spg = 1; ...@@ -91,6 +91,7 @@ static int __read_mostly enable_share_k2u_spg = 1;
int sysctl_ac_mode = AC_NONE; int sysctl_ac_mode = AC_NONE;
/* debug mode */ /* debug mode */
int sysctl_sp_debug_mode; int sysctl_sp_debug_mode;
EXPORT_SYMBOL(sysctl_sp_debug_mode);
int sysctl_share_pool_map_lock_enable; int sysctl_share_pool_map_lock_enable;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册