From acc26f85f32c68a51e5cc7b613cd0ea0b0630505 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Fri, 7 Jan 2022 20:50:16 +0200 Subject: Use #if defined(...) when not guard clause --- arch/riscv64/include/csr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/riscv64/include') diff --git a/arch/riscv64/include/csr.h b/arch/riscv64/include/csr.h index 52db9c1..43c365b 100644 --- a/arch/riscv64/include/csr.h +++ b/arch/riscv64/include/csr.h @@ -42,7 +42,7 @@ #define SSTATUS_SPP (1 << 8) /* directly lifted from Linux:/arch/riscv/include/asm/asm.h:9-13 */ -#ifdef __ASSEMBLY__ +#if defined(__ASSEMBLY__) #define __ASM_STR(x) x #else #define __ASM_STR(x) #x -- cgit v1.3