From: "Sérgio Monteiro Basto" <sergiomb-5ng0By4jB+/QUPosyRRdSA@public.gmane.org>
To: Matthew Wilcox <willy-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
Cc: acpi-devel
<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: [PATCH] warning: implicit declaration of function mp_config_ioapic_for_sci
Date: 09 Oct 2002 01:14:13 -0400 [thread overview]
Message-ID: <1034140205.1666.23.camel@darkstar.portugal> (raw)
In-Reply-To: <20021008125912.Q18545-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 793 bytes --]
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.
On Tue, 2002-10-08 at 07:59, Matthew Wilcox wrote:
> On Tue, Oct 08, 2002 at 02:55:57AM -0400, Sérgio Monteiro Basto wrote:
> > +++ linux-2.4.19acpi/include/asm-i386/mpspec.h Sun Oct 6 21:34:06 2002
> ^^^^^^^^
> > +#ifdef CONFIG_X86
> > +extern void mp_config_ioapic_for_sci(int irq);
> > +#endif /*CONFIG_X86*/
>
> you really don't need to encase this in CONFIG_X86. if it's in asm-i386
> and some other cpu type is including this file, things are already
> hideously wrong.
>
> --
> Revolutions do not require corporate support.
>
[-- Attachment #2: acpi_explicit2.diff --]
[-- Type: text/plain, Size: 558 bytes --]
--- 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);
next prev parent reply other threads:[~2002-10-09 5:14 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 [this message]
[not found] ` <1034140205.1666.23.camel-4/PLUo9XfK/yXfm4dIG/yWZHpeb/A1Y/@public.gmane.org>
2002-10-09 13:42 ` Matthew Wilcox
[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=1034140205.1666.23.camel@darkstar.portugal \
--to=sergiomb-5ng0by4jb+/quposyrrdsa@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=willy-8fiUuRrzOP0dnm+yROfE0A@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