xen/13903-domctl.patch

29 lines
767 B
Diff

# HG changeset patch
# User kfraser@localhost.localdomain
# Date 1171456536 0
# Node ID 929868cd37150106c4235657c959ac3376e95aa2
# Parent d08c2af538045c16366ab5e5e99e1c4bd01f8223
Add missing breaks to {set,get}_address_size domctls.
Signed-off-by: Gerd Hoffmann <kraxel@suse.de>
Index: xen-3.0.4-testing/xen/arch/x86/domctl.c
===================================================================
--- xen-3.0.4-testing.orig/xen/arch/x86/domctl.c
+++ xen-3.0.4-testing/xen/arch/x86/domctl.c
@@ -318,6 +318,7 @@ _long arch_do_domctl(
put_domain(d);
}
+ break;
case XEN_DOMCTL_get_address_size:
{
@@ -332,6 +333,7 @@ _long arch_do_domctl(
ret = 0;
put_domain(d);
}
+ break;
default:
ret = -ENOSYS;