direct-io.hg

changeset 15281:356588dda4bc

ES7000: Fix ES7000-specific APIC code.
Signed-off-by: Raj Subrahmanian <raj.subrahmanian@unisys.com>
author Keir Fraser <keir@xensource.com>
date Fri Jun 15 09:15:28 2007 +0100 (2007-06-15)
parents 80577631fb87
children 1baac6716c62
files xen/arch/x86/genapic/es7000plat.c
line diff
     1.1 --- a/xen/arch/x86/genapic/es7000plat.c	Fri Jun 15 09:08:19 2007 +0100
     1.2 +++ b/xen/arch/x86/genapic/es7000plat.c	Fri Jun 15 09:15:28 2007 +0100
     1.3 @@ -299,12 +299,12 @@ es7000_stop_cpu(int cpu)
     1.4  void __init
     1.5  es7000_sw_apic()
     1.6  {
     1.7 -	if (es7000_plat) {
     1.8 +	if (es7000_plat && (es7000_plat != ES7000_ZORRO)) {
     1.9  		int mip_status;
    1.10  		struct mip_reg es7000_mip_reg;
    1.11  
    1.12  		printk("ES7000: Enabling APIC mode.\n");
    1.13 -        	memset(&es7000_mip_reg, 0, sizeof(struct mip_reg));
    1.14 +		memset(&es7000_mip_reg, 0, sizeof(struct mip_reg));
    1.15          	es7000_mip_reg.off_0 = MIP_SW_APIC;
    1.16          	es7000_mip_reg.off_38 = (MIP_VALID);
    1.17          	while ((mip_status = es7000_mip_write(&es7000_mip_reg)) != 0)