xref: /openbmc/linux/include/linux/instruction_pointer.h (revision f69e98a91a01fd7c5755dd710e94a17d6e9f583f)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_INSTRUCTION_POINTER_H
3 #define _LINUX_INSTRUCTION_POINTER_H
4 
5 #define _RET_IP_		(unsigned long)__builtin_return_address(0)
6 #define _THIS_IP_  ({ __label__ __here; __here: (unsigned long)&&__here; })
7 
8 #endif /* _LINUX_INSTRUCTION_POINTER_H */
9