[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] x86-64: remove left over uses of .got entries



These were caused by some declarations happening before the compiler
would have seen the visibility pragma.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

--- a/xen/include/xen/config.h
+++ b/xen/include/xen/config.h
@@ -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__
--- a/xen/include/xen/ctype.h
+++ b/xen/include/xen/ctype.h
@@ -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.



Attachment: no-decls-before-compiler-h.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.