printf: Remove unused 'bprintf'
[drm/drm-misc.git] / include / linux / instruction_pointer.h
blobaa0b3ffea93536c7b423742f09efbaee50c7f56e
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_INSTRUCTION_POINTER_H
3 #define _LINUX_INSTRUCTION_POINTER_H
5 #include <asm/linkage.h>
7 #define _RET_IP_ (unsigned long)__builtin_return_address(0)
9 #ifndef _THIS_IP_
10 #define _THIS_IP_ ({ __label__ __here; __here: (unsigned long)&&__here; })
11 #endif
13 #endif /* _LINUX_INSTRUCTION_POINTER_H */