linuxkpi: Define _THIS_IP_

For now, the macro is not implemented and it returns 0.

The DRM generic code started to use it in Linux 6.11.

Reviewed by:	bz, emaste
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55731
This commit is contained in:
Jean-Sébastien Pédron
2026-03-03 00:09:02 +01:00
parent 8af854ea47
commit 5625130425
@@ -10,4 +10,6 @@
#define _RET_IP_ __builtin_return_address(0) #define _RET_IP_ __builtin_return_address(0)
#define _THIS_IP_ ((unsigned long)0) /* TODO: _THIS_IP_ not implemented. */
#endif /* _LINUXKPI_LINUX_INSTRUCTION_POINTER_H_ */ #endif /* _LINUXKPI_LINUX_INSTRUCTION_POINTER_H_ */