[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-4.0-testing] x86: Replace missing return stmt accidentally removed by 21513:649372e3d46a



# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1311804751 -3600
# Node ID f09ab04f614e108770a3c44084195d7522fb6997
# Parent  2e78e0ce1f3125f0e79cc00ed8f54fe2ad2d0a59
x86: Replace missing return stmt accidentally removed by 21513:649372e3d46a

Signed-off-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 2e78e0ce1f31 -r f09ab04f614e xen/arch/x86/smpboot.c
--- a/xen/arch/x86/smpboot.c    Wed Jul 20 15:30:55 2011 +0100
+++ b/xen/arch/x86/smpboot.c    Wed Jul 27 23:12:31 2011 +0100
@@ -1480,6 +1480,7 @@
        if ( (acpi_id >= MAX_MADT_ENTRIES) ||
             (apic_id >= MAX_APICS) ||
             (pxm >= 256) )
+               return -EINVAL;
 
        /* Detect if the cpu has been added before */
        if ( x86_acpiid_to_apicid[acpi_id] != 0xff)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.