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

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



# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxxxx>
# Date 1305549718 -3600
# Node ID 26a4cedefec06da92819f31fb62a28903c26d8f7
# Parent  f9355c999a0f6ed7ed82ca4eef64e8350159b22e
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>
xen-unstable changeset:   23345:ba4bd20e581a
xen-unstable date:        Mon May 16 13:32:37 2011 +0100
---


diff -r f9355c999a0f -r 26a4cedefec0 xen/include/xen/config.h
--- a/xen/include/xen/config.h  Mon May 16 13:41:25 2011 +0100
+++ b/xen/include/xen/config.h  Mon May 16 13:41:58 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 f9355c999a0f -r 26a4cedefec0 xen/include/xen/ctype.h
--- a/xen/include/xen/ctype.h   Mon May 16 13:41:25 2011 +0100
+++ b/xen/include/xen/ctype.h   Mon May 16 13:41:58 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®.