]> err.no Git - linux-2.6/commitdiff
uml: remove include of asm/user.h
authorJeff Dike <jdike@addtoit.com>
Thu, 12 Jun 2008 22:21:40 +0000 (15:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 13 Jun 2008 01:05:40 +0000 (18:05 -0700)
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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/os-Linux/sys-i386/registers.c

index b487cbead1bd396e02dabdeb92f10118bf2e75b4..229f7a53d8dad95279798105eaa28fc81daa53e9 100644 (file)
@@ -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 long *regs)
 
 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);