1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __ASM_LINKAGE_H 3 #define __ASM_LINKAGE_H 4 5 #include <linux/stringify.h> 6 7 #define __ALIGN .balign CONFIG_FUNCTION_ALIGNMENT, 0x07 8 #define __ALIGN_STR __stringify(__ALIGN) 9 10 #define _THIS_IP_ ({ unsigned long __ip; asm volatile("larl %0, ." : "=d" (__ip)); __ip; }) 11 12 #endif 13