You've already forked kernel-lamu
mirror of
https://github.com/fuckyoumoto/kernel-lamu.git
synced 2026-04-02 12:39:48 -07:00
14 lines
346 B
C
14 lines
346 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _LINUX_INSTRUCTION_POINTER_H
|
|
#define _LINUX_INSTRUCTION_POINTER_H
|
|
|
|
#include <asm/linkage.h>
|
|
|
|
#define _RET_IP_ (unsigned long)__builtin_return_address(0)
|
|
|
|
#ifndef _THIS_IP_
|
|
#define _THIS_IP_ ({ __label__ __here; __here: (unsigned long)&&__here; })
|
|
#endif
|
|
|
|
#endif /* _LINUX_INSTRUCTION_POINTER_H */
|