debuggers.hg

changeset 21000:b4041e7bbe1b

paging_domctl: Add missing breaks in switch stmt.

From: Tim Deegan <Tim.Deegan@citrix.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Feb 17 12:11:13 2010 +0000 (2010-02-17)
parents 220e4996f0e8
children 077089e37ac9
files xen/arch/x86/mm/paging.c
line diff
     1.1 --- a/xen/arch/x86/mm/paging.c	Wed Feb 17 12:05:45 2010 +0000
     1.2 +++ b/xen/arch/x86/mm/paging.c	Wed Feb 17 12:11:13 2010 +0000
     1.3 @@ -717,11 +717,13 @@ int paging_domctl(struct domain *d, xen_
     1.4                  hap_logdirty_init(d);
     1.5              return paging_log_dirty_enable(d);
     1.6          }
     1.7 +        break;
     1.8  
     1.9      case XEN_DOMCTL_SHADOW_OP_OFF:
    1.10          if ( paging_mode_log_dirty(d) )
    1.11              if ( (rc = paging_log_dirty_disable(d)) != 0 )
    1.12                  return rc;
    1.13 +        break;
    1.14  
    1.15      case XEN_DOMCTL_SHADOW_OP_CLEAN:
    1.16      case XEN_DOMCTL_SHADOW_OP_PEEK: