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)
15 lines
404 B
C
15 lines
404 B
C
/*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*
|
|
* Copyright (c) 2021 Neel Chauhan
|
|
* Copyright (c) 2026 The FreeBSD Foundation
|
|
*/
|
|
|
|
#ifndef _LINUXKPI_LINUX_INSTRUCTION_POINTER_H_
|
|
#define _LINUXKPI_LINUX_INSTRUCTION_POINTER_H_
|
|
|
|
#define _RET_IP_ __builtin_return_address(0)
|
|
|
|
#define _THIS_IP_ ((unsigned long)0) /* TODO: _THIS_IP_ not implemented. */
|
|
|
|
#endif /* _LINUXKPI_LINUX_INSTRUCTION_POINTER_H_ */
|