UML - Remove include of asm/user.h
PATCH 1/2 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 Jeff Dike <[email protected]>
--- arch/um/os-Linux/sys-i386/registers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/um/os-Linux/sys-i386/registers.c +2 -2
@@ -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 lvoid 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);
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel