]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
uml: don't use glibc asm/user.h
authorJeff Dike <jdike@addtoit.com>
Tue, 16 Oct 2007 08:27:14 +0000 (01:27 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:43:07 +0000 (09:43 -0700)
commit189872f968def833727b6bfef83ebd7440c538e6
treed660a930b2a55875397985a7d465c303ad2549de
parent84b3db04ca15a90273745e391462faf658b1e825
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>
arch/um/sys-i386/user-offsets.c
arch/um/sys-x86_64/user-offsets.c