]> git.baikalelectronics.ru Git - kernel.git/commit
x86: fix sigcontext.h user export
authorIngo Molnar <mingo@elte.hu>
Wed, 13 Feb 2008 15:20:35 +0000 (16:20 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 13 Feb 2008 15:20:35 +0000 (16:20 +0100)
commit078c050134770b2657017a26c61fdd71c5f7ff3a
tree2d0674a4b7c70d81ae4905a5181cb8ed4777cf85
parent9b47bdd0bb20a73bb3bee171fe92fcbe38df9a24
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 ed0e85189160ab340d0398ab73a402f5d9a2affb
  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