x86: fix math_emu register frame access
[linux-2.6.git] / arch / x86 / include / asm / math_emu.h
index 302492c..031f626 100644 (file)
@@ -11,8 +11,8 @@
 struct math_emu_info {
        long ___orig_eip;
        union {
-               struct pt_regs regs;
-               struct kernel_vm86_regs vm86;
+               struct pt_regs *regs;
+               struct kernel_vm86_regs *vm86;
        };
 };
 #endif /* _ASM_X86_MATH_EMU_H */