about summary refs log tree commit diff
path: root/src/thread/sh/__unmapself.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/sh/__unmapself.s')
-rw-r--r--src/thread/sh/__unmapself.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/thread/sh/__unmapself.s b/src/thread/sh/__unmapself.s
index cad91bf6..0161d53d 100644
--- a/src/thread/sh/__unmapself.s
+++ b/src/thread/sh/__unmapself.s
@@ -3,7 +3,7 @@
 .type   __unmapself_sh_mmu, @function
 __unmapself_sh_mmu:
 	mov   #91, r3  ! SYS_munmap
-	trapa #18
+	trapa #31
 
 	or    r0, r0
 	or    r0, r0
@@ -13,7 +13,7 @@ __unmapself_sh_mmu:
 
 	mov   #1, r3   ! SYS_exit
 	mov   #0, r4
-	trapa #17
+	trapa #31
 
 	or    r0, r0
 	or    r0, r0