| From | Andrey Ryabinin <> | Subject | [PATCH v11 01/19] compiler: introduce __alias(symbol) shortcut | Date | Tue, 03 Feb 2015 20:42:54 +0300 |
| |
To be consistent with other compiler attributes introduce __alias(symbol) macro expanding into __attribute__((alias(#symbol)))
Signed-off-by: Andrey Ryabinin <a.ryabinin@samsung.com> --- include/linux/compiler-gcc.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/include/linux/compiler-gcc.h b/include/linux/compiler-gcc.h index 02ae99e..cdf13ca 100644 --- a/include/linux/compiler-gcc.h +++ b/include/linux/compiler-gcc.h @@ -66,6 +66,7 @@ #define __deprecated __attribute__((deprecated)) #define __packed __attribute__((packed)) #define __weak __attribute__((weak)) +#define __alias(symbol) __attribute__((alias(#symbol))) /* * it doesn't make sense on ARM (currently the only user of __naked) to trace -- 2.2.2
|