]> git.karo-electronics.de Git - karo-tx-linux.git/commit
UML - stop using libc asm/user.h
authorJeff Dike <jdike@addtoit.com>
Thu, 1 Nov 2007 19:53:26 +0000 (15:53 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Nov 2007 16:22:57 +0000 (08:22 -0800)
commit9e6707f395a49741f22f083c166453c2e202f0ec
tree6fab9f36e5dd076069f3445621121f8223e8c571
parent63140953f5b642a12764a913a47a8e6bc97ec4ae
UML - stop using libc asm/user.h

commit 189872f968def833727b6bfef83ebd7440c538e6 in mainline.

uml: don't use glibc asm/user.h

Stop including asm/user.h from libc - it seems to be disappearing from
distros.  It's replaced with sys/user.h which defines user_fpregs_struct and
user_fpxregs_struct instead of user_i387_struct and struct user_fxsr_struct on
i386.

As a bonus, on x86_64, I get to dump some stupid typedefs which were needed in
order to get asm/user.h to compile.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/um/sys-i386/user-offsets.c
arch/um/sys-x86_64/user-offsets.c