This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


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

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] x86-64: remove left over uses of .got entries
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Fri, 13 May 2011 11:04:03 +0100
Delivery-date: Fri, 13 May 2011 03:04:53 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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>
 #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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] x86-64: remove left over uses of .got entries, Jan Beulich <=