diff options
| author | Ingo Molnar <mingo@kernel.org> | 2023-10-03 10:32:25 +0300 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2023-10-03 10:32:25 +0300 |
| commit | de80193308f43d3ae52cd3561e8ba77cd1437311 (patch) | |
| tree | 3960ff42c407370dfd8c114e5b828bdece9cf425 /include/linux/instruction_pointer.h | |
| parent | 54aee5f15b83437f23b2b2469bcf21bdd9823916 (diff) | |
| parent | 8a749fd1a8720d4619c91c8b6e7528c0a355c0aa (diff) | |
| download | linux-de80193308f43d3ae52cd3561e8ba77cd1437311.tar.xz | |
Merge tag 'v6.6-rc4' into perf/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/instruction_pointer.h')
| -rw-r--r-- | include/linux/instruction_pointer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/instruction_pointer.h b/include/linux/instruction_pointer.h index cda1f706eaeb..aa0b3ffea935 100644 --- a/include/linux/instruction_pointer.h +++ b/include/linux/instruction_pointer.h @@ -2,7 +2,12 @@ #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 */ |
