aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/flushtlb.c
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-05-28 11:00:01 +0000
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-05-28 11:00:01 +0000
commitaecd25280fecc186c99a1d96c300e1f02d76da9e (patch)
tree67c54a35a9beb2f0a3e5de159a6f7a3ca3509dd2 /xen/arch/x86/flushtlb.c
parent6f3176eb128df16a34ad00dd3b452d23b20e50eb (diff)
downloadxen-aecd25280fecc186c99a1d96c300e1f02d76da9e.tar.gz
xen-aecd25280fecc186c99a1d96c300e1f02d76da9e.tar.bz2
xen-aecd25280fecc186c99a1d96c300e1f02d76da9e.zip
bitkeeper revision 1.1584 (42984f31pkIsDJAxZBlaJgFWP9L2QA)
Assembly code cleanups. gcc doesn't need very many hints to get the operand size and register names correct for both x86/32 and x86/64. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/flushtlb.c')
-rw-r--r--xen/arch/x86/flushtlb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/flushtlb.c b/xen/arch/x86/flushtlb.c
index 2079bf51c6..5e132a7a14 100644
--- a/xen/arch/x86/flushtlb.c
+++ b/xen/arch/x86/flushtlb.c
@@ -57,7 +57,7 @@ void write_cr3(unsigned long cr3)
*/
skip_clocktick:
- __asm__ __volatile__ ( "mov"__OS" %0, %%cr3" : : "r" (cr3) : "memory" );
+ __asm__ __volatile__ ( "mov %0, %%cr3" : : "r" (cr3) : "memory" );
/*
* STEP 3. Update this CPU's timestamp. Note that this happens *after*