| 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* |
| 3 | * sys32.S: I-cache tricks for 32-bit compatibility layer simple |
| 4 | * conversions. |
| 5 | * |
| 6 | * 1997 David S. |
| 7 | * 1998 Jakub |
| 8 | */ |
| 9 | |
| 10 | #include <asm/errno.h> |
| 11 | |
| 12 | /* NOTE: call as jump breaks return stack, we have to avoid that */ |
| 13 | |
| 14 | .text |
| 15 | |
| 16 | .globl sys32_mmap2 |
| 17 | sys32_mmap2: |
| 18 | sethi %, %g1 |
| 19 | jmpl %g1 + %, %g0 |
| 20 | sllx %o5, 12, %o5 |