From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: [PATCH] x86-64: remove left over uses of .got entries Date: Fri, 13 May 2011 11:04:03 +0100 Message-ID: <4DCD1E3302000078000413D4@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartE9C56403.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__PartE9C56403.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline These were caused by some declarations happening before the compiler would have seen the visibility pragma. Signed-off-by: Jan Beulich --- a/xen/include/xen/config.h +++ b/xen/include/xen/config.h @@ -7,6 +7,9 @@ #ifndef __XEN_CONFIG_H__ #define __XEN_CONFIG_H__ =20 +#ifndef __ASSEMBLY__ +#include +#endif #include =20 #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 ) =20 -#include - #endif /* !__ASSEMBLY__ */ =20 #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 =20 +#include + /* * NOTE! This ctype does not handle EOF like the standard C * library is required to. --=__PartE9C56403.0__= Content-Type: text/plain; name="no-decls-before-compiler-h.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="no-decls-before-compiler-h.patch" These were caused by some declarations happening before the compiler=0Awoul= d have seen the visibility pragma.=0A=0ASigned-off-by: Jan Beulich = =0A=0A--- a/xen/include/xen/config.h=0A+++ b/xen/inclu= de/xen/config.h=0A@@ -7,6 +7,9 @@=0A #ifndef __XEN_CONFIG_H__=0A #define = __XEN_CONFIG_H__=0A =0A+#ifndef __ASSEMBLY__=0A+#include = =0A+#endif=0A #include =0A =0A #define EXPORT_SYMBOL(var)=0A@= @ -75,8 +78,6 @@ int current_domain_id(void);=0A printk(XENLOG_GUEST = _l "%s:%d:d%d " _f, __FILE__, \=0A __LINE__, current_domai= n_id() , ## _a )=0A =0A-#include =0A-=0A #endif /* = !__ASSEMBLY__ */=0A =0A #define __STR(...) #__VA_ARGS__=0A--- a/xen/include= /xen/ctype.h=0A+++ b/xen/include/xen/ctype.h=0A@@ -1,6 +1,8 @@=0A #ifndef = _LINUX_CTYPE_H=0A #define _LINUX_CTYPE_H=0A =0A+#include =0A+= =0A /*=0A * NOTE! This ctype does not handle EOF like the standard C=0A = * library is required to.=0A --=__PartE9C56403.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__PartE9C56403.0__=--