diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2008-03-18 21:46:06 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:41:20 -0400 |
commit | cc7594e420283cf6070538655f1a4fbebb3fb853 (patch) | |
tree | 75384c86d39ecccd144af9f58d7cc98ae2f041ff /arch | |
parent | b450e5e816d10893e17f57b3eb9d29c52635862a (diff) |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/math-emu/fpu_entry.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/math-emu/fpu_entry.c b/arch/x86/math-emu/fpu_entry.c index 760baeea5f07..4bab3b145392 100644 --- a/arch/x86/math-emu/fpu_entry.c +++ b/arch/x86/math-emu/fpu_entry.c | |||
@@ -276,6 +276,7 @@ asmlinkage void math_emulate(long arg) | |||
276 | entry_sel_off.offset = FPU_ORIG_EIP; | 276 | entry_sel_off.offset = FPU_ORIG_EIP; |
277 | entry_sel_off.selector = FPU_CS; | 277 | entry_sel_off.selector = FPU_CS; |
278 | entry_sel_off.opcode = (byte1 << 8) | FPU_modrm; | 278 | entry_sel_off.opcode = (byte1 << 8) | FPU_modrm; |
279 | entry_sel_off.empty = 0; | ||
279 | 280 | ||
280 | FPU_rm = FPU_modrm & 7; | 281 | FPU_rm = FPU_modrm & 7; |
281 | 282 | ||