[PATCH 7/7] UML - Eliminate floating point state from register file

From: Jeff Dike
Date: Thu Aug 23 2007 - 17:38:33 EST


The floating point fields in the pt_regs register file aren't used, so
they are deleted.

Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxxxxxx>
--
arch/um/include/sysdep-i386/ptrace.h | 2 --
arch/um/include/sysdep-x86_64/ptrace.h | 1 -
2 files changed, 3 deletions(-)

Index: linux-2.6.22/arch/um/include/sysdep-i386/ptrace.h
===================================================================
--- linux-2.6.22.orig/arch/um/include/sysdep-i386/ptrace.h 2007-08-23 15:05:36.000000000 -0400
+++ linux-2.6.22/arch/um/include/sysdep-i386/ptrace.h 2007-08-23 15:17:14.000000000 -0400
@@ -54,8 +54,6 @@ extern int sysemu_supported;

struct uml_pt_regs {
unsigned long gp[MAX_REG_NR];
- unsigned long fp[HOST_FP_SIZE];
- unsigned long xfp[HOST_XFP_SIZE];
struct faultinfo faultinfo;
long syscall;
int is_user;
Index: linux-2.6.22/arch/um/include/sysdep-x86_64/ptrace.h
===================================================================
--- linux-2.6.22.orig/arch/um/include/sysdep-x86_64/ptrace.h 2007-08-23 15:05:36.000000000 -0400
+++ linux-2.6.22/arch/um/include/sysdep-x86_64/ptrace.h 2007-08-23 15:17:39.000000000 -0400
@@ -86,7 +86,6 @@

struct uml_pt_regs {
unsigned long gp[MAX_REG_NR];
- unsigned long fp[HOST_FP_SIZE];
struct faultinfo faultinfo;
long syscall;
int is_user;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/