ia64/xen-unstable

changeset 16414:6301c3b6e1ba

i386: Remove unnecessary, and broken, address check I added to seg
fixup code. Oops.
Signed-off-by: Keir Fraser <keir.fraser@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Nov 21 12:00:20 2007 +0000 (2007-11-21)
parents 81aa410fa662
children 7ccf7d373d0e
files xen/arch/x86/x86_32/seg_fixup.c
line diff
     1.1 --- a/xen/arch/x86/x86_32/seg_fixup.c	Wed Nov 21 11:49:41 2007 +0000
     1.2 +++ b/xen/arch/x86/x86_32/seg_fixup.c	Wed Nov 21 12:00:20 2007 +0000
     1.3 @@ -216,10 +216,6 @@ static int linearise_address(u16 seg, un
     1.4  
     1.5      *linear = base + off;
     1.6  
     1.7 -    /* Conservatively check 32 bytes from returned linear base. */
     1.8 -    if ( !access_ok(linear, 32) )
     1.9 -        return 0;
    1.10 -
    1.11      return 1;
    1.12  }
    1.13