mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
bitkeeper revision 1.462 (3f72123aFdH-T8rLWiFO2fSFpxZMYw)
ldt.c: Propagate errors from Xen segment checking hypercall via Xenolinux syscall to application.
This commit is contained in:
1 parent
9e921cf988
commit
fea6971a1d
1 file changed
+1
-2
@@ -152,8 +152,7 @@ static int write_ldt(void * ptr, unsigned long bytecount, int oldmode)
|
||||
|
||||
/* Install the new entry ... */
|
||||
install:
|
||||
HYPERVISOR_update_descriptor(phys_lp, entry_1, entry_2);
|
||||
error = 0;
|
||||
error = HYPERVISOR_update_descriptor(phys_lp, entry_1, entry_2);
|
||||
|
||||
out_unlock:
|
||||
up_write(&mm->mmap_sem);
|
||||
|
||||