aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/ldt.h
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-04-28 18:04:45 +0000
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-04-28 18:04:45 +0000
commit3ba18b6857ce0e98e761a70feb4602ea743f9ed5 (patch)
tree13ab741a07f9e69eaa41affb04d4a28522ca0f5f /xen/include/asm-x86/ldt.h
parent610bfea9f1dc89401a33b35c5541bc04bff8ed17 (diff)
downloadxen-3ba18b6857ce0e98e761a70feb4602ea743f9ed5.tar.gz
xen-3ba18b6857ce0e98e761a70feb4602ea743f9ed5.tar.bz2
xen-3ba18b6857ce0e98e761a70feb4602ea743f9ed5.zip
bitkeeper revision 1.1389.1.4 (427125bdwah0mehgnafVLP-gRLDM_w)
Avoid field duplication between vcpu_guest_context and arch_exec_domain structures. The latter now includes the former as a sub-field. Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/asm-x86/ldt.h')
-rw-r--r--xen/include/asm-x86/ldt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/asm-x86/ldt.h b/xen/include/asm-x86/ldt.h
index 096f7286d0..63fa8db5d8 100644
--- a/xen/include/asm-x86/ldt.h
+++ b/xen/include/asm-x86/ldt.h
@@ -10,7 +10,7 @@ static inline void load_LDT(struct exec_domain *ed)
struct desc_struct *desc;
unsigned long ents;
- if ( (ents = ed->arch.ldt_ents) == 0 )
+ if ( (ents = ed->arch.guest_context.ldt_ents) == 0 )
{
__asm__ __volatile__ ( "lldt %%ax" : : "a" (0) );
}