From: "Jan Beulich" <JBeulich@novell.com>
To: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: [PATCH] x86-64: remove left over uses of .got entries
Date: Fri, 13 May 2011 11:04:03 +0100 [thread overview]
Message-ID: <4DCD1E3302000078000413D4@vpn.id2.novell.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 948 bytes --]
These were caused by some declarations happening before the compiler
would have seen the visibility pragma.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
--- 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 #2: no-decls-before-compiler-h.patch --]
[-- Type: text/plain, Size: 942 bytes --]
These were caused by some declarations happening before the compiler
would have seen the visibility pragma.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
--- 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 #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
reply other threads:[~2011-05-13 10:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DCD1E3302000078000413D4@vpn.id2.novell.com \
--to=jbeulich@novell.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).