x86: fix sigcontext.h user export
commit1cdde19109901e8f1194e227d0bcd48caf713323
authorIngo Molnar <mingo@elte.hu>
Wed, 13 Feb 2008 15:20:35 +0000 (13 16:20 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 13 Feb 2008 15:20:35 +0000 (13 16:20 +0100)
tree2d0674a4b7c70d81ae4905a5181cb8ed4777cf85
parent96b5a46e2a72dc1829370c87053e0cd558d58bc0
x86: fix sigcontext.h user export

Jakub Jelinek reported that some user-space code that relies on
kernel headers has built dependency on the sigcontext->eip/rip
register names - which have been unified in commit:

  commit 742fa54a62be6a263df14a553bf832724471dfbe
  Author: H. Peter Anvin <hpa@zytor.com>
  Date:   Wed Jan 30 13:30:56 2008 +0100

      x86: use generic register names in struct sigcontext

so give the old layout to user-space. This is not particularly
pretty, but it's an ABI so there's no danger of the two definitions
getting out of sync.

Reported-by: Jakub Jelinek <jakub@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/sigcontext.h