[PATCH] x86-64: Extract segment descriptor definitions for use outside
authorAvi Kivity <avi@qumranet.com>
Thu, 7 Dec 2006 01:14:04 +0000 (02:14 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Thu, 7 Dec 2006 01:14:04 +0000 (02:14 +0100)
commit249e83fe839a13b5dc94285daeeaf70f6e54d930
tree3bd37f33160916b6eef50624b795748737e2f03d
parent4c7aa6c3b25ef96bc1b723238041195e3d8bf047
[PATCH] x86-64: Extract segment descriptor definitions for use outside

Code that wants to use struct desc_struct cannot do so on i386 because
desc.h contains other code that will only compile on x86_64.

So extract the structure definitions into a asm-x86_64/desc_defs.h.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Andi Kleen <ak@suse.de>
 include/asm-x86_64/desc.h      |   53 -------------------------------
 include/asm-x86_64/desc_defs.h |   69 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+), 52 deletions(-)
include/asm-x86_64/desc.h
include/asm-x86_64/desc_defs.h [new file with mode: 0644]