]> git.baikalelectronics.ru Git - kernel.git/commit
x86: x86 i387 unify structs
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:31:48 +0000 (13:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:31:48 +0000 (13:31 +0100)
commit7061b790eb471cb23a12a393a9515ef35e7c6d2e
treec2f7de8ef55c4dca6dc92750a479b88784181191
parentc31b63fbae1f76607febe1215ac1515bc19d26ac
x86: x86 i387 unify structs

The i387_fxsave_struct formats really have the same layout
on 32 and 64, with only some slightly different use of a few
fields.  The i387_fsave_struct and i387_soft_struct formats
are never used by 64-bit kernels, but it doesn't hurt to
have the unused types in the union and cuts down on the
amount of #ifdef hair required throughout the i387 code.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/processor.h