aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorUros Bizjak <[email protected]>2023-11-30 16:27:35 +0000
committerIngo Molnar <[email protected]>2023-11-30 19:19:33 +0000
commit4604c052b84d66407f5e68045a1939685eac401e (patch)
treebfdce150937eea37cb86db0c7072c4057688bb81 /scripts/generate_rust_target.rs
parentx86/callthunks: Mark apply_relocation() as __init_or_module (diff)
downloadkernel-4604c052b84d66407f5e68045a1939685eac401e.tar.gz
kernel-4604c052b84d66407f5e68045a1939685eac401e.zip
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 <[email protected]> Signed-off-by: Uros Bizjak <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions