diff options
author | Keir Fraser <keir@xensource.com> | 2007-06-15 09:15:28 +0100 |
---|---|---|
committer | Keir Fraser <keir@xensource.com> | 2007-06-15 09:15:28 +0100 |
commit | 7909197234e36c0cc0680c81bc2f77372997634f (patch) | |
tree | d4b2d982020d2032a49254a410991ddd60897d7f /xen/arch/x86/genapic | |
parent | 008340af8fb94dbf5426aca7ab8f2565d669e70e (diff) | |
download | xen-7909197234e36c0cc0680c81bc2f77372997634f.tar.gz xen-7909197234e36c0cc0680c81bc2f77372997634f.tar.bz2 xen-7909197234e36c0cc0680c81bc2f77372997634f.zip |
ES7000: Fix ES7000-specific APIC code.
Signed-off-by: Raj Subrahmanian <raj.subrahmanian@unisys.com>
Diffstat (limited to 'xen/arch/x86/genapic')
-rw-r--r-- | xen/arch/x86/genapic/es7000plat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/arch/x86/genapic/es7000plat.c b/xen/arch/x86/genapic/es7000plat.c index 56752061c7..f1fd851ba3 100644 --- a/xen/arch/x86/genapic/es7000plat.c +++ b/xen/arch/x86/genapic/es7000plat.c @@ -299,12 +299,12 @@ es7000_stop_cpu(int cpu) 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) |