summaryrefslogtreecommitdiff
path: root/start.c
diff options
context:
space:
mode:
make -O work with asm volatile(...)
Diffstat (limited to 'start.c')
-rw-r--r--start.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/start.c b/start.c
index ce22be8..c4689dc 100644
--- a/start.c
+++ b/start.c
@@ -52,5 +52,5 @@ mstart()
w_tp(id);
// call main() in supervisor mode.
- asm("mret");
+ asm volatile("mret");
}