summaryrefslogtreecommitdiffstats
path: root/drivers/staging/android/uapi
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2020-07-27 23:29:38 +0800
committerCatalin Marinas <catalin.marinas@arm.com>2020-08-08 19:25:04 +0100
commiteaecca9e7710281be7c31d892c9f447eafd7ddd9 (patch)
tree7990ce241ed1099607436ca7d7d2509d2fbd04a3 /drivers/staging/android/uapi
parent489577d7082bf2a83a7e41d1ead3e4d48ec9a599 (diff)
downloadlinux-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