diff options
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 */ | 
