1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 2 /* 3 * sys32.S: I-cache tricks for 32-bit compatib 3 * sys32.S: I-cache tricks for 32-bit compatibility layer simple 4 * conversions. 4 * conversions. 5 * 5 * 6 * Copyright (C) 1997 David S. Miller (davem@c 6 * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu) 7 * Copyright (C) 1998 Jakub Jelinek (jj@ultr 7 * Copyright (C) 1998 Jakub Jelinek (jj@ultra.linux.cz) 8 */ 8 */ 9 9 10 #include <asm/errno.h> 10 #include <asm/errno.h> 11 11 12 /* NOTE: call as jump breaks return stack, we 12 /* NOTE: call as jump breaks return stack, we have to avoid that */ 13 13 14 .text 14 .text 15 15 16 .globl sys32_mmap2 16 .globl sys32_mmap2 17 sys32_mmap2: 17 sys32_mmap2: 18 sethi %hi(sys_mmap), %g1 18 sethi %hi(sys_mmap), %g1 19 jmpl %g1 + %lo(sys_mmap), % 19 jmpl %g1 + %lo(sys_mmap), %g0 20 sllx %o5, 12, %o5 20 sllx %o5, 12, %o5
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.