Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 2026 21:08:29 +0000
From:      Bjoern A. Zeeb <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Cc:        Jean-=?utf-8?Q?S=C3=A9bast?==?utf-8?Q?ien P=C3=A9?=dron <dumbbell@FreeBSD.org>
Subject:   git: fb16a42610fb - stable/15 - linuxkpi: Define `_THIS_IP_`
Message-ID:  <69e938cd.26aba.bfe6044@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=fb16a42610fbffad89f912a9217f438bb147d826

commit fb16a42610fbffad89f912a9217f438bb147d826
Author:     Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
AuthorDate: 2026-03-02 23:09:02 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-04-22 20:57:00 +0000

    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
    
    (cherry picked from commit 56251304258a50fe31bac5cd7da74a4d25497606)
---
 sys/compat/linuxkpi/common/include/linux/instruction_pointer.h | 2 ++
 1 file changed, 2 insertions(+)

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_ */


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e938cd.26aba.bfe6044>