[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] arm: correctly check for error on dom0 allocation
# HG changeset patch # User Ian Campbell <Ian.Campbell@xxxxxxxxxx> # Date 1346667720 -3600 # Node ID 8c2cd070f258ba7dbdf3f6ca318a284a44378078 # Parent 294592457aab9c009b2029df7c250e6998b94274 arm: correctly check for error on dom0 allocation Drop the redundant printk Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> Acked-by: Jan Beulich <JBeulich@xxxxxxxx> Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- diff -r 294592457aab -r 8c2cd070f258 xen/arch/arm/setup.c --- a/xen/arch/arm/setup.c Mon Sep 03 11:22:00 2012 +0100 +++ b/xen/arch/arm/setup.c Mon Sep 03 11:22:00 2012 +0100 @@ -238,9 +238,7 @@ void __init start_xen(unsigned long boot /* Create initial domain 0. */ dom0 = domain_create(0, 0, 0); - if ( IS_ERR(dom0) ) - printk("domain_create failed\n"); - if ( (dom0 == NULL) || (alloc_dom0_vcpu0() == NULL) ) + if ( IS_ERR(dom0) || (alloc_dom0_vcpu0() == NULL) ) panic("Error creating domain 0\n"); dom0->is_privileged = 1; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |