ia64/xen-unstable

changeset 6563:331c256d8e5c

Add back missing part of XenLinux acpi/boot.c.
This fixes bug #76 (IRQ sharing fails under load).
Signed-off-by: Natasha Jarymowycz <natasha@us.ibm.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Aug 31 08:43:57 2005 +0000 (2005-08-31)
parents 38312fe7ec38
children 7032428bc820
files linux-2.6-xen-sparse/arch/xen/i386/kernel/acpi/boot.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/xen/i386/kernel/acpi/boot.c	Wed Aug 31 08:27:34 2005 +0000
     1.2 +++ b/linux-2.6-xen-sparse/arch/xen/i386/kernel/acpi/boot.c	Wed Aug 31 08:43:57 2005 +0000
     1.3 @@ -469,6 +469,18 @@ unsigned int acpi_register_gsi(u32 gsi, 
     1.4  	unsigned int irq;
     1.5  	unsigned int plat_gsi = gsi;
     1.6  
     1.7 +#ifdef CONFIG_PCI
     1.8 +	/*
     1.9 +	 * Make sure all (legacy) PCI IRQs are set as level-triggered.
    1.10 +	 */
    1.11 +	if (acpi_irq_model == ACPI_IRQ_MODEL_PIC) {
    1.12 +		extern void eisa_set_level_irq(unsigned int irq);
    1.13 +
    1.14 +		if (edge_level == ACPI_LEVEL_SENSITIVE)
    1.15 +				eisa_set_level_irq(gsi);
    1.16 +	}
    1.17 +#endif
    1.18 +
    1.19  #ifdef CONFIG_X86_IO_APIC
    1.20  	if (acpi_irq_model == ACPI_IRQ_MODEL_IOAPIC) {
    1.21  		plat_gsi = mp_register_gsi(gsi, edge_level, active_high_low);