diff options
author | 2023-04-20 19:30:16 +0100 | |
---|---|---|
committer | 2023-05-01 17:19:27 -0700 | |
commit | c2d3c8441e3ddbfe41fea9282ddc6ee372e154cd (patch) | |
tree | 6357cd0cc2fc56855497e4547513a7ff2425e7e0 /scripts/generate_rust_analyzer.py | |
parent | riscv: Move .rela.dyn to the init sections (diff) | |
download | linux-rng-c2d3c8441e3ddbfe41fea9282ddc6ee372e154cd.tar.xz linux-rng-c2d3c8441e3ddbfe41fea9282ddc6ee372e154cd.zip |
RISC-V: include cpufeature.h in cpufeature.c
Automation complains:
warning: symbol '__pcpu_scope_misaligned_access_speed' was not declared. Should it be static?
cpufeature.c doesn't actually include the header of the same name, as it
had not previously used anything from it.
The per-cpu variable is declared there, so include it to silence the
complaints.
Fixes: 62a31d6e38bd ("RISC-V: hwprobe: Support probing of misaligned access performance")
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Evan Green <evan@rivosinc.com>
Link: https://lore.kernel.org/r/20230420-wound-gizzard-2b2b589d9bea@spud
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions