1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * sys32.S: I-cache tricks for 32-bit compatibility layer simple 4 * conversions. 5 * 6 * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu) 7 * Copyright (C) 1998 Jakub Jelinek (jj@ultra.linux.cz) 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 17sys32_mmap2: 18 sethi %hi(sys_mmap), %g1 19 jmpl %g1 + %lo(sys_mmap), %g0 20 sllx %o5, 12, %o5 21