ia64/xen-unstable

changeset 2622:4d484af4aca0

bitkeeper revision 1.1159.1.219 (416a9e3bO5_6f1e0AMMNVRk0kCNWpQ)

Bug fix, from code inspection.

MMUEXT_TRANSFER_PAGE error case would have inappropriately caused an
ASSERT, due to a "break" statement getting caught by a while loop, rather
than the intended switch statement.
author mafetter@fleming.research
date Mon Oct 11 14:52:43 2004 +0000 (2004-10-11)
parents 9402048e2325
children b7b15f4a7ebc
files BitKeeper/etc/logging_ok xen/arch/x86/memory.c
line diff
     1.1 --- a/BitKeeper/etc/logging_ok	Mon Oct 11 12:48:40 2004 +0000
     1.2 +++ b/BitKeeper/etc/logging_ok	Mon Oct 11 14:52:43 2004 +0000
     1.3 @@ -30,6 +30,7 @@ kaf24@scramble.cl.cam.ac.uk
     1.4  kaf24@striker.cl.cam.ac.uk
     1.5  laudney@eclipse.(none)
     1.6  lynx@idefix.cl.cam.ac.uk
     1.7 +mafetter@fleming.research
     1.8  maw48@labyrinth.cl.cam.ac.uk
     1.9  mjw@wray-m-3.hpl.hp.com
    1.10  mwilli2@equilibrium.research
     2.1 --- a/xen/arch/x86/memory.c	Mon Oct 11 12:48:40 2004 +0000
     2.2 +++ b/xen/arch/x86/memory.c	Mon Oct 11 14:52:43 2004 +0000
     2.3 @@ -1156,6 +1156,7 @@ static int do_extended_command(unsigned 
     2.4                  : "0" (d), "1" (x), "c" (NULL), "b" (x) );
     2.5          } 
     2.6          while ( unlikely(nd != d) || unlikely(y != x) );
     2.7 +	if (!okay) break;
     2.8  
     2.9          /*
    2.10           * Unlink from 'd'. At least one reference remains (now anonymous), so