summaryrefslogtreecommitdiff
path: root/trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'trap.c')
-rw-r--r--trap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trap.c b/trap.c
index 98ab143..39ff61d 100644
--- a/trap.c
+++ b/trap.c
@@ -108,7 +108,7 @@ usertrapret(void)
// interrupts and exceptions from kernel code go here,
// on whatever the current kernel stack is.
// must be 4-byte aligned to fit in stvec.
-void __attribute__ ((aligned (4)))
+void
kerneltrap()
{
uint64 sstatus = r_sstatus();