aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/config.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2011-05-16 13:32:37 +0100
committerJan Beulich <jbeulich@novell.com>2011-05-16 13:32:37 +0100
commitdafcd6b26a764a5e6c64a85573df6c00f171eaeb (patch)
tree30c445346870c409f7790f7a26a5496ef00e2f18 /xen/include/xen/config.h
parent3544dfc663481c4623fdafa8cc025372c54eeed3 (diff)
downloadxen-dafcd6b26a764a5e6c64a85573df6c00f171eaeb.tar.gz
xen-dafcd6b26a764a5e6c64a85573df6c00f171eaeb.tar.bz2
xen-dafcd6b26a764a5e6c64a85573df6c00f171eaeb.zip
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@novell.com>
Diffstat (limited to 'xen/include/xen/config.h')
-rw-r--r--xen/include/xen/config.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/xen/include/xen/config.h b/xen/include/xen/config.h
index 7872f13e8d..a52298ea3b 100644
--- 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__