diff options
author | Atish Patra <atishp@rivosinc.com> | 2024-04-20 18:17:22 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-04-22 08:43:52 +0300 |
commit | 3ddb6d4df67dad5a8501ffe3133eb31e0717acf4 (patch) | |
tree | 4383e34923f9db6b27d6979bd8d35fb8cee6e2df /arch/riscv/include | |
parent | 8f486ced2860e1023d402d20bf8d785b6f040086 (diff) | |
download | linux-3ddb6d4df67dad5a8501ffe3133eb31e0717acf4.tar.xz |
RISC-V: KVM: Rename the SBI_STA_SHMEM_DISABLE to a generic name
SBI_STA_SHMEM_DISABLE is a macro to invoke disable shared memory
commands. As this can be invoked from other SBI extension context
as well, rename it to more generic name as SBI_SHMEM_DISABLE.
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20240420151741.962500-7-atishp@rivosinc.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'arch/riscv/include')
-rw-r--r-- | arch/riscv/include/asm/sbi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/include/asm/sbi.h b/arch/riscv/include/asm/sbi.h index 9aada4b9f7b5..f31650b10899 100644 --- a/arch/riscv/include/asm/sbi.h +++ b/arch/riscv/include/asm/sbi.h @@ -277,7 +277,7 @@ struct sbi_sta_struct { u8 pad[47]; } __packed; -#define SBI_STA_SHMEM_DISABLE -1 +#define SBI_SHMEM_DISABLE -1 /* SBI spec version fields */ #define SBI_SPEC_VERSION_DEFAULT 0x1 |