i386: arch/x86/math-emu/fpu_entry.c warning fix

arch/x86/math-emu/fpu_entry.c:555: warning: 'entry_sel_off.empty' is used uninitialized in this function

Presumably it's harmless, but I'll sleep better at night knowing that we
initialised it.

Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Andrew Morton 2008-03-18 18:46:06 -07:00 committed by Ingo Molnar
parent b450e5e816
commit cc7594e420
1 changed files with 1 additions and 0 deletions

View File

@ -276,6 +276,7 @@ asmlinkage void math_emulate(long arg)
entry_sel_off.offset = FPU_ORIG_EIP; entry_sel_off.offset = FPU_ORIG_EIP;
entry_sel_off.selector = FPU_CS; entry_sel_off.selector = FPU_CS;
entry_sel_off.opcode = (byte1 << 8) | FPU_modrm; entry_sel_off.opcode = (byte1 << 8) | FPU_modrm;
entry_sel_off.empty = 0;
FPU_rm = FPU_modrm & 7; FPU_rm = FPU_modrm & 7;