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

[Xen-changelog] [xen-unstable] x86-64: remove left over uses of .got entries



# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxxxx>
# Date 1305549157 -3600
# Node ID ba4bd20e581adcaddb864f93153b4ae1ac3f7855
# Parent  776b0c3e6544ea91f8b7e94214c9e4b390337003
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>
---


diff -r 776b0c3e6544 -r ba4bd20e581a xen/include/xen/config.h
--- a/xen/include/xen/config.h  Mon May 16 13:31:42 2011 +0100
+++ b/xen/include/xen/config.h  Mon May 16 13:32:37 2011 +0100
@@ -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 @@
     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__
diff -r 776b0c3e6544 -r ba4bd20e581a xen/include/xen/ctype.h
--- a/xen/include/xen/ctype.h   Mon May 16 13:31:42 2011 +0100
+++ b/xen/include/xen/ctype.h   Mon May 16 13:32:37 2011 +0100
@@ -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.

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


 


Rackspace

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