aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>2026-03-02 23:09:02 +0000
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>2026-04-06 19:28:08 +0000
commit56251304258a50fe31bac5cd7da74a4d25497606 (patch)
tree0ab374da59119d186edbd26dc9337e7dbd4c30cd
parent8af854ea479a140a6e284d74e481d0b547408df2 (diff)
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
-rw-r--r--sys/compat/linuxkpi/common/include/linux/instruction_pointer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/instruction_pointer.h b/sys/compat/linuxkpi/common/include/linux/instruction_pointer.h
index 9dc16781808a..200a8c3f1d5e 100644
--- a/sys/compat/linuxkpi/common/include/linux/instruction_pointer.h
+++ b/sys/compat/linuxkpi/common/include/linux/instruction_pointer.h
@@ -10,4 +10,6 @@
#define _RET_IP_ __builtin_return_address(0)
+#define _THIS_IP_ ((unsigned long)0) /* TODO: _THIS_IP_ not implemented. */
+
#endif /* _LINUXKPI_LINUX_INSTRUCTION_POINTER_H_ */