xref: /src/sys/compat/linuxkpi/common/include/linux/instruction_pointer.h (revision 56251304258a50fe31bac5cd7da74a4d25497606)
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