diff options
author | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2003-09-24 21:52:58 +0000 |
---|---|---|
committer | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2003-09-24 21:52:58 +0000 |
commit | fea6971a1dad03fcf5aa070ca80ef28bf516a177 (patch) | |
tree | 03330e8874453908d3490ca6ff6ce6be2c4e71e4 | |
parent | 9e921cf988dec27e70f79bbfff764d7ded991271 (diff) | |
download | xen-fea6971a1dad03fcf5aa070ca80ef28bf516a177.tar.gz xen-fea6971a1dad03fcf5aa070ca80ef28bf516a177.tar.bz2 xen-fea6971a1dad03fcf5aa070ca80ef28bf516a177.zip |
bitkeeper revision 1.462 (3f72123aFdH-T8rLWiFO2fSFpxZMYw)
ldt.c:
Propagate errors from Xen segment checking hypercall via Xenolinux syscall to application.
-rw-r--r-- | xenolinux-2.4.22-sparse/arch/xeno/kernel/ldt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xenolinux-2.4.22-sparse/arch/xeno/kernel/ldt.c b/xenolinux-2.4.22-sparse/arch/xeno/kernel/ldt.c index 28ae39fd60..501ce94484 100644 --- a/xenolinux-2.4.22-sparse/arch/xeno/kernel/ldt.c +++ b/xenolinux-2.4.22-sparse/arch/xeno/kernel/ldt.c @@ -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); |