* [PATCH 1/2] UML - Remove include of asm/user.h
@ 2008-06-12 16:28 Jeff Dike
0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2008-06-12 16:28 UTC (permalink / raw)
To: Andrew Morton, LKML, uml-devel
I allowed an include of asm/user.h to sneak back in. This patch
replaces it with sys/user.h.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
---
arch/um/os-Linux/sys-i386/registers.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: linux-2.6.22/arch/um/os-Linux/sys-i386/registers.c
===================================================================
--- linux-2.6.22.orig/arch/um/os-Linux/sys-i386/registers.c 2008-06-10 11:42:06.000000000 -0400
+++ linux-2.6.22/arch/um/os-Linux/sys-i386/registers.c 2008-06-10 11:55:54.000000000 -0400
@@ -6,7 +6,7 @@
#include <errno.h>
#include <sys/ptrace.h>
-#include <asm/user.h>
+#include <sys/user.h>
#include "kern_constants.h"
#include "longjmp.h"
#include "user.h"
@@ -76,7 +76,7 @@ int put_fp_registers(int pid, unsigned l
void arch_init_registers(int pid)
{
- struct user_fxsr_struct fpx_regs;
+ struct user_fpxregs_struct fpx_regs;
int err;
err = ptrace(PTRACE_GETFPXREGS, pid, 0, &fpx_regs);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-06-12 16:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-12 16:28 [PATCH 1/2] UML - Remove include of asm/user.h Jeff Dike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox