lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 8 Aug 2020 14:42:42 +0200
From:   Greg Kroah-Hartman <>
To:     Catalin Marinas <>,
        Will Deacon <>
Cc:     Gavin Shan <>, Mark Rutland <>,
        Sudeep Holla <>,,,
Subject: [PATCH] fix arm64 build with lack of __cpu_logical_map exported

Currently Linus's tree fails with the following build error on arm64
	ERROR: modpost: "__cpu_logical_map" [drivers/cpufreq/tegra194-cpufreq.ko] undefined!

Seems that also notices this for the past 2 days:

Fix this up by just exporting the symbol.  Don't know if it's the
"right" fix, but it solves the build error for my machines.

Reported-by: " bot" <>
Signed-off-by: Greg Kroah-Hartman <>

diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c
index 87e81d29e6fb..b421a4756793 100644
--- a/arch/arm64/kernel/setup.c
+++ b/arch/arm64/kernel/setup.c
@@ -275,6 +275,7 @@ static int __init reserve_memblock_reserved_regions(void)
 u64 __cpu_logical_map[NR_CPUS] = { [0 ... NR_CPUS-1] = INVALID_HWID };
 void __init __no_sanitize_address setup_arch(char **cmdline_p)

Powered by blists - more mailing lists