Unverified Commit 8fa615c9 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!303 iommu: bugfix for missing symbols when build arm_smmu_v3.ko

Merge Pull Request from: @zhangjian210 
 
In Ascend feature, we have used function acpi_dev_prop_read_single in
arm-smmu-v3.ko, and this function only can be used in kernel, can't be
used in module.

This patch is a bugfix for when we make CONFIG_ARM_AMMU_V3 be MODULE,
and build arm-smmu-v3.ko, it will miss symbols for acpi_dev_prop_read_single.
So we use a other interface that can be used in module to replace the
function acpi_dev_prop_read_single. 
 
Link:https://gitee.com/openeuler/kernel/pulls/303

 
Reviewed-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parents 635fa357 74c92d14
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment