From mboxrd@z Thu Jan 1 00:00:00 1970 From: Flavio Leitner Subject: movl issue Date: Thu, 30 Jun 2005 09:29:39 -0300 Message-ID: <20050630122938.GA3560@conectiva.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org Last one, now it is compiling. ---- Fixed to use 'mov' instead of 'movl' when dealing with segments. Signed-off-by: Flavio B. Leitner =3D=3D=3D=3D=3D linux-2.6.11-xen-sparse/include/asm-xen/asm-i386/mmu_cont= ext.h 1.16 vs edited =3D=3D=3D=3D=3D --- 1.16/linux-2.6.11-xen-sparse/include/asm-xen/asm-i386/mmu_context.h 2= 005-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" : "=3Dm" (*(int *)¤t->thread.fs), "=3Dm" (*(int *)¤t->thread.gs)); __asm__ __volatile__ ( "movl %0,%%fs ; movl %0,%%gs" =3D=3D=3D=3D=3D linux-2.6.11-xen-sparse/include/asm-xen/asm-i386/system.h= 1.21 vs edited =3D=3D=3D=3D=3D --- 1.21/linux-2.6.11-xen-sparse/include/asm-xen/asm-i386/system.h 2005-0= 6-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":"=3Dm" (*(int *)&(value))) + asm volatile("mov %%" #seg ",%0":"=3Dm" (*(int *)&(value))) =20 /* * Clear and set 'TS' bit respectively ---- --=20 Fl=E1vio Bruno Leitner [0EA2 7F40 4CF4 1E63 4AF6 33C0 3E10 E205 F251 EDDA]