switch to using trap number 31 for syscalls on sh
[musl] / src / thread / sh / __unmapself.s
index cad91bf..0161d53 100644 (file)
@@ -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