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
This commit is contained in:
parent
278e370066
commit
fee0d486ef
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user