1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * (C) Copyright 2007 Semihalf
5 * Written by: Rafal Jaworowski <raj@semihalf.com>
8 #if defined(CONFIG_PPC)
13 lis %r11, search_hint@ha
14 addi %r11, %r11, search_hint@l
21 lis %r11, syscall_ptr@ha
22 addi %r11, %r11, syscall_ptr@l
27 #elif defined(CONFIG_ARM)
42 #elif defined(CONFIG_MIPS)
48 PTR_S $sp, search_hint
55 PTR_S $ra, return_addr
56 PTR_L $t9, syscall_ptr
59 PTR_L $ra, return_addr
68 #error No support for this arch!