patch-2.1.115 linux/include/asm-sparc64/fpumacro.h
Next file: linux/include/asm-sparc64/ide.h
Previous file: linux/include/asm-sparc64/floppy.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Tue Aug 4 16:03:35 1998
- Orig file:
v2.1.114/linux/include/asm-sparc64/fpumacro.h
- Orig date:
Mon Jan 12 15:15:58 1998
diff -u --recursive --new-file v2.1.114/linux/include/asm-sparc64/fpumacro.h linux/include/asm-sparc64/fpumacro.h
@@ -8,14 +8,13 @@
#define _SPARC64_FPUMACRO_H
#include <asm/asi.h>
+#include <asm/visasm.h>
struct fpustate {
u32 regs[64];
- u64 fsr;
- u64 gsr;
};
-#define FPUSTATE (struct fpustate *)(((unsigned long)current) + (((PAGE_SIZE<<1)-((64*4)+(2*8))) & ~(64 - 1)))
+#define FPUSTATE (struct fpustate *)(((unsigned long)current) + AOFF_task_fpregs)
extern __inline__ unsigned long fprs_read(void)
{
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov