compiler: introduce __alias(symbol) shortcut
authorAndrey Ryabinin <[email protected]>
Fri, 13 Feb 2015 22:39:14 +0000 (14:39 -0800)
committerLinus Torvalds <[email protected]>
Sat, 14 Feb 2015 05:21:40 +0000 (21:21 -0800)
commitcb4188ac8e5779f66b9f55888ac2c75b391cde44
tree520ebde8081b197a054108eb59fd69539df6d489
parent0f989f749b51ec1fd94bb5a42f8ad10c8b9f73cb
compiler: introduce __alias(symbol) shortcut

To be consistent with other compiler attributes introduce __alias(symbol)
macro expanding into __attribute__((alias(#symbol)))

Signed-off-by: Andrey Ryabinin <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Konstantin Serebryany <[email protected]>
Cc: Dmitry Chernenkov <[email protected]>
Signed-off-by: Andrey Konovalov <[email protected]>
Cc: Yuri Gribov <[email protected]>
Cc: Konstantin Khlebnikov <[email protected]>
Cc: Sasha Levin <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: David Rientjes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/compiler-gcc.h