patch-2.1.92 linux/arch/i386/kernel/signal.c

Next file: linux/arch/i386/kernel/traps.c
Previous file: linux/arch/i386/kernel/process.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.91/linux/arch/i386/kernel/signal.c linux/arch/i386/kernel/signal.c
@@ -199,7 +199,7 @@
 	      && (tmp & 0x4) != 0x4	/* not a LDT selector */	\
 	      && (tmp & 3) != 3)	/* not a RPL3 GDT selector */	\
 		  goto badframe;					\
-	  __asm__ __volatile__("mov %w0,%%" #seg : : "r"(tmp)); }
+	  __asm__ __volatile__("movl %w0,%%" #seg : : "r"(tmp)); }
 
 	GET_SEG(gs);
 	GET_SEG(fs);
@@ -337,9 +337,9 @@
 	unsigned int tmp;
 
 	tmp = 0;
-	__asm__("mov %%gs,%w0" : "=r"(tmp): "0"(tmp));
+	__asm__("movl %%gs,%w0" : "=r"(tmp): "0"(tmp));
 	__put_user(tmp, (unsigned int *)&sc->gs);
-	__asm__("mov %%fs,%w0" : "=r"(tmp): "0"(tmp));
+	__asm__("movl %%fs,%w0" : "=r"(tmp): "0"(tmp));
 	__put_user(tmp, (unsigned int *)&sc->fs);
 
 	__put_user(regs->xes, (unsigned int *)&sc->es);
@@ -427,7 +427,7 @@
 	regs->eip = (unsigned long) ka->sa.sa_handler;
 	{
 		unsigned long seg = __USER_DS;
-		__asm__("mov %w0,%%fs ; mov %w0,%%gs": "=r"(seg) : "0"(seg));
+		__asm__("movl %w0,%%fs ; movl %w0,%%gs": "=r"(seg) : "0"(seg));
 		set_fs(USER_DS);
 		regs->xds = seg;
 		regs->xes = seg;
@@ -492,7 +492,7 @@
 	regs->eip = (unsigned long) ka->sa.sa_handler;
 	{
 		unsigned long seg = __USER_DS;
-		__asm__("mov %w0,%%fs ; mov %w0,%%gs": "=r"(seg) : "0"(seg));
+		__asm__("movl %w0,%%fs ; movl %w0,%%gs": "=r"(seg) : "0"(seg));
 		set_fs(USER_DS);
 		regs->xds = seg;
 		regs->xes = seg;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov