Commit 14c8a77e authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds

uml: remove include of asm/user.h

I allowed an include of asm/user.h to sneak back in.  This patch replaces
it with sys/user.h.
Signed-off-by: default avatarJeff Dike <jdike@linux.intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 529a4f4e
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include <errno.h> #include <errno.h>
#include <sys/ptrace.h> #include <sys/ptrace.h>
#include <asm/user.h> #include <sys/user.h>
#include "kern_constants.h" #include "kern_constants.h"
#include "longjmp.h" #include "longjmp.h"
#include "user.h" #include "user.h"
...@@ -76,7 +76,7 @@ int put_fp_registers(int pid, unsigned long *regs) ...@@ -76,7 +76,7 @@ int put_fp_registers(int pid, unsigned long *regs)
void arch_init_registers(int pid) void arch_init_registers(int pid)
{ {
struct user_fxsr_struct fpx_regs; struct user_fpxregs_struct fpx_regs;
int err; int err;
err = ptrace(PTRACE_GETFPXREGS, pid, 0, &fpx_regs); err = ptrace(PTRACE_GETFPXREGS, pid, 0, &fpx_regs);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment