From: Matthew Wilcox <willy-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
To: "Sérgio Monteiro Basto"
<sergiomb-5ng0By4jB+/QUPosyRRdSA@public.gmane.org>
Cc: Matthew Wilcox <willy-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>,
acpi-devel
<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: [PATCH] warning: implicit declaration of function mp_config_ioapic_for_sci
Date: Wed, 9 Oct 2002 14:42:32 +0100 [thread overview]
Message-ID: <20021009144232.Z18545@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <1034140205.1666.23.camel-4/PLUo9XfK/yXfm4dIG/yWZHpeb/A1Y/@public.gmane.org>; from sergiomb-5ng0By4jB+/QUPosyRRdSA@public.gmane.org on Wed, Oct 09, 2002 at 01:14:13AM -0400
On Wed, Oct 09, 2002 at 01:14:13AM -0400, Sérgio Monteiro Basto wrote:
> First of all thanks for replying to this email and for the information.
>
> so I remade the patch, and (I think) now is a good patch, because is not
> need declared the mp_config_ioapic_for_sci function.
> --- linux-2.4.19orig/drivers/acpi/bus.c Sun Oct 6 21:39:56 2002
> +++ linux-2.4.19acpi/drivers/acpi/bus.c Wed Oct 9 01:00:12 2002
> @@ -1883,10 +1883,14 @@
>
> #ifdef CONFIG_X86
> /* Ensure the SCI is set to level-triggered, active-low */
> +#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);
> +#else
> + eisa_set_level_irq(acpi_fadt.sci_int);
> +#endif
> #endif
>
> status = acpi_enable_subsystem(ACPI_FULL_INITIALIZATION);
the normal way to do this kind of this is:
> #ifdef CONFIG_X86
> /* Ensure the SCI is set to level-triggered, active-low */
> +#ifdef CONFIG_X86_IO_APIC
> if (acpi_ioapic)
> mp_config_ioapic_for_sci(acpi_fadt.sci_int);
> else
> +#endif
> eisa_set_level_irq(acpi_fadt.sci_int);
> #endif
(could someone fix the indenting here? it's a mess!)
--
Revolutions do not require corporate support.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
next prev parent reply other threads:[~2002-10-09 13:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-08 6:55 [PATCH] warning: implicit declaration of function mp_config_ioapic_for_sci Sérgio Monteiro Basto
[not found] ` <1034060159.1541.24.camel-4/PLUo9XfK/yXfm4dIG/yWZHpeb/A1Y/@public.gmane.org>
2002-10-08 11:59 ` Matthew Wilcox
[not found] ` <20021008125912.Q18545-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org>
2002-10-09 5:14 ` Sérgio Monteiro Basto
[not found] ` <1034140205.1666.23.camel-4/PLUo9XfK/yXfm4dIG/yWZHpeb/A1Y/@public.gmane.org>
2002-10-09 13:42 ` Matthew Wilcox [this message]
[not found] ` <20021009144232.Z18545-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org>
2002-10-10 4:28 ` Sérgio Monteiro Basto
2002-10-10 4:35 ` Sérgio Monteiro Basto
2002-10-10 4:38 ` Sérgio Monteiro Basto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021009144232.Z18545@parcelfarce.linux.theplanet.co.uk \
--to=willy-8fiuurrzop0dnm+yrofe0a@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=sergiomb-5ng0By4jB+/QUPosyRRdSA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox