diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2020-07-27 23:29:38 +0800 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2020-08-08 19:25:04 +0100 |
commit | eaecca9e7710281be7c31d892c9f447eafd7ddd9 (patch) | |
tree | 7990ce241ed1099607436ca7d7d2509d2fbd04a3 /drivers/staging/android/uapi | |
parent | 489577d7082bf2a83a7e41d1ead3e4d48ec9a599 (diff) | |
download | linux-eaecca9e7710281be7c31d892c9f447eafd7ddd9.tar.bz2 |
arm64: Fix __cpu_logical_map undefined issue
The __cpu_logical_map undefined issue occued when the new
tegra194-cpufreq drvier building as a module.
ERROR: modpost: "__cpu_logical_map" [drivers/cpufreq/tegra194-cpufreq.ko] undefined!
The driver using cpu_logical_map() macro which will expand to
__cpu_logical_map, we can't access it in a drvier. Let's turn
cpu_logical_map() into a C wrapper and export it to fix the
build issue.
Also create a function set_cpu_logical_map(cpu, hwid) when assign
a value to cpu_logical_map(cpu).
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'drivers/staging/android/uapi')
0 files changed, 0 insertions, 0 deletions