ia64/xen-unstable

changeset 764:c40b417de19f

bitkeeper revision 1.462 (3f72123aFdH-T8rLWiFO2fSFpxZMYw)

ldt.c:
Propagate errors from Xen segment checking hypercall via Xenolinux syscall to application.
author kaf24@scramble.cl.cam.ac.uk
date Wed Sep 24 21:52:58 2003 +0000 (2003-09-24)
parents 57eb11234d3b
children c54c6595f6ae
files xenolinux-2.4.22-sparse/arch/xeno/kernel/ldt.c
line diff
     1.1 --- a/xenolinux-2.4.22-sparse/arch/xeno/kernel/ldt.c	Wed Sep 24 21:49:54 2003 +0000
     1.2 +++ b/xenolinux-2.4.22-sparse/arch/xeno/kernel/ldt.c	Wed Sep 24 21:52:58 2003 +0000
     1.3 @@ -152,8 +152,7 @@ static int write_ldt(void * ptr, unsigne
     1.4  
     1.5      /* Install the new entry ...  */
     1.6   install:
     1.7 -    HYPERVISOR_update_descriptor(phys_lp, entry_1, entry_2);
     1.8 -    error = 0;
     1.9 +    error = HYPERVISOR_update_descriptor(phys_lp, entry_1, entry_2);
    1.10  
    1.11   out_unlock:
    1.12      up_write(&mm->mmap_sem);