aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv64/kernel/irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv64/kernel/irq.c')
-rw-r--r--arch/riscv64/kernel/irq.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/riscv64/kernel/irq.c b/arch/riscv64/kernel/irq.c
index a88288f..27e0bd0 100644
--- a/arch/riscv64/kernel/irq.c
+++ b/arch/riscv64/kernel/irq.c
@@ -7,7 +7,7 @@ void init_irq(void *fdt)
{
UNUSED(fdt);
csr_write(CSR_STVEC, &handle_irq);
-
+
long s = 0;
csr_read(CSR_SIE, s);
info("CSR_SIE: %lx\n", s);
@@ -15,7 +15,8 @@ void init_irq(void *fdt)
__aligned(4) void handle_irq()
{
- while(1);
+ while (1)
+ ;
}
/* very simple for now */