xref: /freebsd/sys/compat/linuxkpi/common/include/linux/instruction_pointer.h (revision f5d0b30e4af1163bdc18a893b17236517b67790a)
1 /*
2  * SPDX-License-Identifier: BSD-2-Clause
3  *
4  * Copyright (c) 2021 Neel Chauhan
5  * Copyright (c) 2026 The FreeBSD Foundation
6  */
7 
8 #ifndef	_LINUXKPI_LINUX_INSTRUCTION_POINTER_H_
9 #define	_LINUXKPI_LINUX_INSTRUCTION_POINTER_H_
10 
11 #define	_RET_IP_		__builtin_return_address(0)
12 
13 #define	_THIS_IP_		((unsigned long)0) /* TODO: _THIS_IP_ not implemented. */
14 
15 #endif /* _LINUXKPI_LINUX_INSTRUCTION_POINTER_H_ */
16