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

[Xen-changelog] [xen-unstable] ES7000: Fix ES7000-specific APIC code.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1181895328 -3600
# Node ID 356588dda4bcc8f7e2c7696c8450c4f3d8ba7411
# Parent  80577631fb870285edf082fc140d6e822947a3cb
ES7000: Fix ES7000-specific APIC code.
Signed-off-by: Raj Subrahmanian <raj.subrahmanian@xxxxxxxxxx>
---
 xen/arch/x86/genapic/es7000plat.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 80577631fb87 -r 356588dda4bc xen/arch/x86/genapic/es7000plat.c
--- a/xen/arch/x86/genapic/es7000plat.c Fri Jun 15 09:08:19 2007 +0100
+++ b/xen/arch/x86/genapic/es7000plat.c Fri Jun 15 09:15:28 2007 +0100
@@ -299,12 +299,12 @@ void __init
 void __init
 es7000_sw_apic()
 {
-       if (es7000_plat) {
+       if (es7000_plat && (es7000_plat != ES7000_ZORRO)) {
                int mip_status;
                struct mip_reg es7000_mip_reg;
 
                printk("ES7000: Enabling APIC mode.\n");
-               memset(&es7000_mip_reg, 0, sizeof(struct mip_reg));
+               memset(&es7000_mip_reg, 0, sizeof(struct mip_reg));
                es7000_mip_reg.off_0 = MIP_SW_APIC;
                es7000_mip_reg.off_38 = (MIP_VALID);
                while ((mip_status = es7000_mip_write(&es7000_mip_reg)) != 0)

_______________________________________________
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®.