]> git.baikalelectronics.ru Git - kernel.git/commit
x86, 64-bit: add gate_offset() and gate_segment() macros
authorJeremy Fitzhardinge <jeremy@goop.org>
Wed, 25 Jun 2008 04:19:04 +0000 (00:19 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 11:10:28 +0000 (13:10 +0200)
commit15d66fc229d85f1a1fd77a32852e650577288d02
treed0b2b3b3b1c6ba1c47080d06639c37e357118a9d
parent8ec67d67cec50bb34695ef7351fabc92f95bbc1f
x86, 64-bit: add gate_offset() and gate_segment() macros

For calculating the offset from struct gate_struct fields.

[ gate_offset and gate_segment were broken for 32-bit. ]

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Cc: Stephen Tweedie <sct@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/asm-x86/desc_defs.h