]> err.no Git - linux-2.6/commit
[PATCH] i386: inline assembler: cleanup and encapsulate descriptor and task register...
authorZachary Amsden <zach@vmware.com>
Sat, 3 Sep 2005 22:56:38 +0000 (15:56 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:06:11 +0000 (00:06 -0700)
commit4d37e7e3fd851428dede4d05d3e69d03795a744a
treef830928a0baf81f462bc9176dacbaad2dac2bb65
parent245067d1674d451855692fcd4647daf9fd47f82d
[PATCH] i386: inline assembler: cleanup and encapsulate descriptor and task register management

i386 inline assembler cleanup.

This change encapsulates descriptor and task register management.  Also,
it is possible to improve assembler generation in two cases; savesegment
may store the value in a register instead of a memory location, which
allows GCC to optimize stack variables into registers, and MOV MEM, SEG
is always a 16-bit write to memory, making the casting in math-emu
unnecessary.

Signed-off-by: Zachary Amsden <zach@vmware.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/cpu/common.c
arch/i386/kernel/doublefault.c
arch/i386/kernel/efi.c
arch/i386/kernel/reboot.c
arch/i386/kernel/signal.c
arch/i386/kernel/traps.c
arch/i386/kernel/vm86.c
arch/i386/math-emu/get_address.c
arch/i386/power/cpu.c
include/asm-i386/desc.h
include/asm-i386/system.h