ia64/xen-unstable
changeset 4479:78c506cbdb5f
bitkeeper revision 1.1274 (4252b481LlZ-TCB7yUWh6cpv21lxZQ)
Fix canonicalising linear base address in set_segment_base hypercall.
Signed-off-by: Keir Fraser <keir@xensource.com>
Fix canonicalising linear base address in set_segment_base hypercall.
Signed-off-by: Keir Fraser <keir@xensource.com>
author | kaf24@firebug.cl.cam.ac.uk |
---|---|
date | Tue Apr 05 15:53:37 2005 +0000 (2005-04-05) |
parents | 277a90deda3e |
children | ae3b1e86f62d 3a76f49439ae |
files | xen/arch/x86/x86_64/mm.c |
line diff
1.1 --- a/xen/arch/x86/x86_64/mm.c Tue Apr 05 12:28:05 2005 +0000 1.2 +++ b/xen/arch/x86/x86_64/mm.c Tue Apr 05 15:53:37 2005 +0000 1.3 @@ -250,7 +250,7 @@ long do_set_segment_base(unsigned int wh 1.4 struct exec_domain *ed = current; 1.5 1.6 /* Canonicalise the base address. */ 1.7 - base &= VADDR_MASK; 1.8 + base |= ~VADDR_MASK; 1.9 1.10 switch ( which ) 1.11 {