All of lore.kernel.org
 help / color / mirror / Atom feed
* movl issue
@ 2005-06-30 12:29 Flavio Leitner
  2005-06-30 13:33 ` Vincent Hanquez
  0 siblings, 1 reply; 8+ messages in thread
From: Flavio Leitner @ 2005-06-30 12:29 UTC (permalink / raw)
  To: xen-devel


Last one, now it is compiling.


----

Fixed to use 'mov' instead of 'movl' when dealing with segments.

Signed-off-by: Flavio B. Leitner <fbl@conectiva.com.br>

===== linux-2.6.11-xen-sparse/include/asm-xen/asm-i386/mmu_context.h 1.16 vs edited =====
--- 1.16/linux-2.6.11-xen-sparse/include/asm-xen/asm-i386/mmu_context.h	2005-06-01 12:37:20 -04:00
+++ edited/linux-2.6.11-xen-sparse/include/asm-xen/asm-i386/mmu_context.h	2005-06-29 18:03:08 -04:00
@@ -34,7 +34,7 @@
 	 * are always kernel segments while inside the kernel. Must
 	 * happen before reload of cr3/ldt (i.e., not in __switch_to).
 	 */
-	__asm__ __volatile__ ( "movl %%fs,%0 ; movl %%gs,%1"
+	__asm__ __volatile__ ( "mov %%fs,%0 ; mov %%gs,%1"
 		: "=m" (*(int *)&current->thread.fs),
 		  "=m" (*(int *)&current->thread.gs));
 	__asm__ __volatile__ ( "movl %0,%%fs ; movl %0,%%gs"
===== linux-2.6.11-xen-sparse/include/asm-xen/asm-i386/system.h 1.21 vs edited =====
--- 1.21/linux-2.6.11-xen-sparse/include/asm-xen/asm-i386/system.h	2005-06-16 07:43:56 -04:00
+++ edited/linux-2.6.11-xen-sparse/include/asm-xen/asm-i386/system.h	2005-06-29 17:37:46 -04:00
@@ -84,7 +84,7 @@
 #define loadsegment(seg,value)			\
 	asm volatile("\n"			\
 		"1:\t"				\
-		"movl %0,%%" #seg "\n"		\
+		"mov %0,%%" #seg "\n"		\
 		"2:\n"				\
 		".section .fixup,\"ax\"\n"	\
 		"3:\t"				\
@@ -102,7 +102,7 @@
  * Save a segment register away
  */
 #define savesegment(seg, value) \
-	asm volatile("movl %%" #seg ",%0":"=m" (*(int *)&(value)))
+	asm volatile("mov %%" #seg ",%0":"=m" (*(int *)&(value)))
 
 /*
  * Clear and set 'TS' bit respectively
----
-- 
Flávio Bruno Leitner <fbl@conectiva.com.br>
[0EA2 7F40 4CF4 1E63 4AF6  33C0 3E10 E205 F251 EDDA]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-07-03 19:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-30 12:29 movl issue Flavio Leitner
2005-06-30 13:33 ` Vincent Hanquez
2005-06-30 13:40   ` Flavio Leitner
2005-06-30 13:40   ` Rik Van Riel
2005-07-01 10:15   ` Vincent Hanquez
2005-07-01 21:12     ` Chris Wright
2005-07-03 11:10       ` Vincent Hanquez
2005-07-03 19:21         ` Chris Wright

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.