x86, asmlinkage, vdso: Mark vdso variables __visible
authorAndi Kleen <ak@linux.intel.com>
Mon, 5 Aug 2013 22:02:50 +0000 (15:02 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 6 Aug 2013 21:21:08 +0000 (14:21 -0700)
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1375740170-7446-17-git-send-email-andi@firstfloor.org
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/vvar.h

index de656ac2af415ce85c760cb28962576848044a3b..d76ac40da206bce3d99b8908efb9205090fe99e7 100644 (file)
@@ -35,7 +35,7 @@
 
 #define DEFINE_VVAR(type, name)                                                \
        type name                                                       \
-       __attribute__((section(".vvar_" #name), aligned(16)))
+       __attribute__((section(".vvar_" #name), aligned(16))) __visible
 
 #define VVAR(name) (*vvaraddr_ ## name)