The commit is pushed to "branch-rh7-3.10.0-229.7.2-ovz" and will appear at 
https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-229.7.2.vz7.6.6
------>
commit 9747950ef28a0e57fba0f50b3a5a7cfa9ec22897
Author: Andrey Ryabinin <[email protected]>
Date:   Thu Sep 3 19:27:35 2015 +0400

    ms/compiler: introduce __alias(symbol) shortcut
    
    https://jira.sw.ru/browse/PSBM-26429
    
    From: Andrey Ryabinin <[email protected]>
    
    commit cb4188ac8e5779f66b9f55888ac2c75b391cde44 upstream.
    
    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]>
    Signed-off-by: Andrey Ryabinin <[email protected]>
    
    Signed-off-by: Andrey Ryabinin <[email protected]>
---
 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 0c5d746..637aeaf 100644
--- a/include/linux/compiler-gcc.h
+++ b/include/linux/compiler-gcc.h
@@ -63,6 +63,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
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to