diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2023-11-30 17:27:35 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2023-11-30 20:19:33 +0100 |
commit | 4604c052b84d66407f5e68045a1939685eac401e (patch) | |
tree | bfdce150937eea37cb86db0c7072c4057688bb81 /samples/nitro_enclaves | |
parent | 6724ba89e0b03667d56616614f55e1f772d38fdb (diff) |
x86/percpu: Declare const_pcpu_hot as extern const variable
const_pcpu_hot is aliased by linker to pcpu_hot, so there is no need
to use the DECLARE_PER_CPU_ALIGNED() macro. Also, declare const_pcpu_hot
as extern to avoid allocating storage space for the aliased structure.
Fixes: ed2f752e0e0a ("x86/percpu: Introduce const-qualified const_pcpu_hot to micro-optimize code generation")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20231130162949.83518-1-ubizjak@gmail.com
Closes: https://lore.kernel.org/oe-kbuild-all/202311302257.tSFtZnly-lkp@intel.com/
Diffstat (limited to 'samples/nitro_enclaves')
0 files changed, 0 insertions, 0 deletions