Skip to content

Commit

Permalink
uml: remove include of asm/user.h
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
cfd-36 authored and torvalds committed Jun 13, 2008
1 parent 529a4f4 commit 14c8a77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/um/os-Linux/sys-i386/registers.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 14c8a77

Please sign in to comment.