diff options
author | 2024-10-08 17:41:38 +0800 | |
---|---|---|
committer | 2024-10-25 06:18:41 -0700 | |
commit | 46d4e5ac6f2f801f97bcd0ec82365969197dc9b1 (patch) | |
tree | fdeea2b277311602ac6b04ebeeb4df9f9429fdcb /scripts/generate_rust_analyzer.py | |
parent | riscv: Use '%u' to format the output of 'cpu' (diff) | |
download | linux-rng-46d4e5ac6f2f801f97bcd0ec82365969197dc9b1.tar.xz linux-rng-46d4e5ac6f2f801f97bcd0ec82365969197dc9b1.zip |
riscv: Remove unused GENERATING_ASM_OFFSETS
The macro is not used in the current version of kernel, it looks like
can be removed to avoid a build warning:
../arch/riscv/kernel/asm-offsets.c: At top level:
../arch/riscv/kernel/asm-offsets.c:7: warning: macro "GENERATING_ASM_OFFSETS" is not used [-Wunused-macros]
7 | #define GENERATING_ASM_OFFSETS
Fixes: 9639a44394b9 ("RISC-V: Provide a cleaner raw_smp_processor_id()")
Cc: stable@vger.kernel.org
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Tested-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Signed-off-by: Chunyan Zhang <zhangchunyan@iscas.ac.cn>
Link: https://lore.kernel.org/r/20241008094141.549248-2-zhangchunyan@iscas.ac.cn
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions