The branch main has been updated by nc (ports committer):

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

commit fee0d486ef34c6bd113ed743e33357ff626f2495
Author:     Neel Chauhan <n...@freebsd.org>
AuthorDate: 2021-06-09 21:34:58 +0000
Commit:     Neel Chauhan <n...@freebsd.org>
CommitDate: 2021-06-09 21:41:44 +0000

    linuxkpi: Add _RET_IP_ macro in kernel.h
    
    This is needed by the drm-kmod 5.7 update.
    
    Approved by:            hselasky (src)
    MFC after:              3 days
    Differential Revision:  https://reviews.freebsd.org/D30707
---
 sys/compat/linuxkpi/common/include/linux/kernel.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/kernel.h 
b/sys/compat/linuxkpi/common/include/linux/kernel.h
index f34179d9566b..aba5896111f7 100644
--- a/sys/compat/linuxkpi/common/include/linux/kernel.h
+++ b/sys/compat/linuxkpi/common/include/linux/kernel.h
@@ -301,6 +301,8 @@ extern int linuxkpi_debug;
 
 #define        u64_to_user_ptr(val)    ((void *)(uintptr_t)(val))
 
+#define _RET_IP_               __builtin_return_address(0)
+
 static inline unsigned long long
 simple_strtoull(const char *cp, char **endp, unsigned int base)
 {
_______________________________________________
dev-commits-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "dev-commits-src-all-unsubscr...@freebsd.org"

Reply via email to