]> git.baikalelectronics.ru Git - kernel.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)
commit4fadc6069d7c0ac3bee4ad905481e0e556205b8a
treed660a930b2a55875397985a7d465c303ad2549de
parent7ce09e5cc59dfe9e42f883627e0c090dc3464250
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