Re: [PATCH v4 2/3] RISC-V: Add interrupt related SCAUSE defines in asm/csr.h

From: Christoph Hellwig
Date: Thu Apr 25 2019 - 01:58:01 EST


> +#ifdef CONFIG_64BIT
> +#define SCAUSE_IRQ_FLAG _AC(0x8000000000000000, UL)
> +#else
> +#define SCAUSE_IRQ_FLAG _AC(0x80000000, UL)
> +#endif

Please keep the existing defintion that doesn't need an ifdef..