summaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/irqflags.h
diff options
context:
space:
mode:
authorAnup Patel <Anup.Patel@wdc.com>2019-04-25 08:38:37 +0000
committerPalmer Dabbelt <palmer@sifive.com>2019-05-16 20:42:11 -0700
commit6dcaf00487ca10d87e53fc8decb2e30f113c955d (patch)
treec29258bf0e09194fe983e03278fa106f22fb87a0 /arch/riscv/include/asm/irqflags.h
parent196a14d45161b320ec8bddf5321b1c5ed89f2d7f (diff)
downloadlwn-6dcaf00487ca10d87e53fc8decb2e30f113c955d.tar.gz
lwn-6dcaf00487ca10d87e53fc8decb2e30f113c955d.zip
RISC-V: Add interrupt related SCAUSE defines in asm/csr.h
This patch adds SCAUSE interrupt flag and SCAUSE interrupt related defines to asm/csr.h. We also use these defines in kernel/irq.c and express SIE/SIP flags in-terms of SCAUSE interrupt causes. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'arch/riscv/include/asm/irqflags.h')
0 files changed, 0 insertions, 0 deletions