diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2025-03-12 20:23:18 -0700 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-04-23 14:08:44 -0700 |
| commit | e4610f38095a3ae01177fe67fd70e4d66b683259 (patch) | |
| tree | b01439cdc5ab7739d6d219a4ce6a5ddeb2729caa | |
| parent | c09a2edce0b0764698f61073e968288820b0941c (diff) | |
| download | focaccia-qemu-e4610f38095a3ae01177fe67fd70e4d66b683259.tar.gz focaccia-qemu-e4610f38095a3ae01177fe67fd70e4d66b683259.zip | |
target/riscv: Remove ifndef CONFIG_USER_ONLY from cpu_cfg.h
While RISCVCPUConfig.satp_mode is unused for user-only, this header is used from disas/riscv.h, whose users are only built once. The savings of 4 bytes isn't worth it. Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
| -rw-r--r-- | target/riscv/cpu_cfg.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target/riscv/cpu_cfg.h b/target/riscv/cpu_cfg.h index 8a843482cc..cfe371b829 100644 --- a/target/riscv/cpu_cfg.h +++ b/target/riscv/cpu_cfg.h @@ -196,9 +196,7 @@ struct RISCVCPUConfig { bool short_isa_string; -#ifndef CONFIG_USER_ONLY RISCVSATPMap satp_mode; -#endif }; typedef struct RISCVCPUConfig RISCVCPUConfig; |