From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?S=E9rgio?= Monteiro Basto Subject: Re: [PATCH] warning: implicit declaration of function mp_config_ioapic_for_sci Date: 10 Oct 2002 00:28:37 -0400 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <1034224122.1900.1.camel@darkstar.portugal> References: <1034060159.1541.24.camel@darkstar.portugal> <20021008125912.Q18545@parcelfarce.linux.theplanet.co.uk> <1034140205.1666.23.camel@darkstar.portugal> <20021009144232.Z18545@parcelfarce.linux.theplanet.co.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-7NRbTC0DDnZSyVWr20wN" Return-path: In-Reply-To: <20021009144232.Z18545-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Matthew Wilcox Cc: acpi-devel List-Id: linux-acpi@vger.kernel.org --=-7NRbTC0DDnZSyVWr20wN Content-Type: text/plain Content-Transfer-Encoding: 7bit On Wed, 2002-10-09 at 09:42, Matthew Wilcox wrote: > (could someone fix the indenting here? it's a mess!) --=-7NRbTC0DDnZSyVWr20wN Content-Disposition: attachment; filename=acpi_explicit3.diff Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; name=acpi_explicit3.diff; charset=ISO-8859-1 --- linux-2.4.19orig/drivers/acpi/bus.c Sun Oct 6 21:39:56 2002 +++ linux-2.4.19acpi/drivers/acpi/bus.c Thu Oct 10 00:08:02 2002 @@ -1883,11 +1883,14 @@ =20 #ifdef CONFIG_X86 /* Ensure the SCI is set to level-triggered, active-low */ - if (acpi_ioapic) - mp_config_ioapic_for_sci(acpi_fadt.sci_int); +#ifdef CONFIG_X86_IO_APIC + if (acpi_ioapic) + mp_config_ioapic_for_sci(acpi_fadt.sci_int); else - eisa_set_level_irq(acpi_fadt.sci_int); -#endif +#else + eisa_set_level_irq(acpi_fadt.sci_int); +#endif /* CONFIG_X86_IO_APIC */ +#endif /* CONFIG_X86 */ =20 status =3D acpi_enable_subsystem(ACPI_FULL_INITIALIZATION); if (ACPI_FAILURE(status)) { --=-7NRbTC0DDnZSyVWr20wN-- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf