]> xenbits.xensource.com Git - people/vhanquez/xen.git/commitdiff
x86-64: remove left over uses of .got entries
authorJan Beulich <jbeulich@novell.com>
Mon, 16 May 2011 12:41:58 +0000 (13:41 +0100)
committerJan Beulich <jbeulich@novell.com>
Mon, 16 May 2011 12:41:58 +0000 (13:41 +0100)
These were caused by some declarations happening before the compiler
would have seen the visibility pragma.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset:   23345:ba4bd20e581a
xen-unstable date:        Mon May 16 13:32:37 2011 +0100

xen/include/xen/config.h
xen/include/xen/ctype.h

index 7872f13e8d93e88eb3486155aefd1a65bfb63bd0..a52298ea3b0a2dc1657815132a58488d3c8a7650 100644 (file)
@@ -7,6 +7,9 @@
 #ifndef __XEN_CONFIG_H__
 #define __XEN_CONFIG_H__
 
+#ifndef __ASSEMBLY__
+#include <xen/compiler.h>
+#endif
 #include <asm/config.h>
 
 #define EXPORT_SYMBOL(var)
@@ -75,8 +78,6 @@ int current_domain_id(void);
     printk(XENLOG_GUEST _l "%s:%d:d%d " _f, __FILE__,       \
            __LINE__, current_domain_id() , ## _a )
 
-#include <xen/compiler.h>
-
 #endif /* !__ASSEMBLY__ */
 
 #define __STR(...) #__VA_ARGS__
index 6dec944a370b23d983c285002c652741dd698b53..f6520e7194ac02e084bb4ef5ca13a50f8db64c4e 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef _LINUX_CTYPE_H
 #define _LINUX_CTYPE_H
 
+#include <xen/config.h>
+
 /*
  * NOTE! This ctype does not handle EOF like the standard C
  * library is required to.