projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
switch to using trap number 31 for syscalls on sh
[musl]
/
src
/
thread
/
sh
/
__unmapself.s
diff --git
a/src/thread/sh/__unmapself.s
b/src/thread/sh/__unmapself.s
index
cad91bf
..
0161d53
100644
(file)
--- 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