aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86
diff options
context:
space:
mode:
authorAndrew Cooper <andrew.cooper3@citrix.com>2013-09-09 10:25:40 +0200
committerJan Beulich <jbeulich@suse.com>2013-09-09 10:25:40 +0200
commitec98ab353db1bb665c3ec2f20007b294f2f51cd8 (patch)
tree781bce237a73ec64eb0a9b60966603c0a8b1a2c1 /xen/include/asm-x86
parent110b2d6e8aa2a35d8f9d8efc3f3bfda3c49a3855 (diff)
downloadxen-ec98ab353db1bb665c3ec2f20007b294f2f51cd8.tar.gz
xen-ec98ab353db1bb665c3ec2f20007b294f2f51cd8.tar.bz2
xen-ec98ab353db1bb665c3ec2f20007b294f2f51cd8.zip
x86: Introduce and use GLOBAL() in asm code
Also clean up some cases of misused/opencoded ENTRY() Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Diffstat (limited to 'xen/include/asm-x86')
-rw-r--r--xen/include/asm-x86/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/include/asm-x86/config.h b/xen/include/asm-x86/config.h
index f387cd68f0..cc42a88e66 100644
--- a/xen/include/asm-x86/config.h
+++ b/xen/include/asm-x86/config.h
@@ -80,6 +80,9 @@
.globl name; \
ALIGN; \
name:
+#define GLOBAL(name) \
+ .globl name; \
+ name:
#endif
#define NR_hypercalls 64