Re: 2.6.20-mm2: compilation fix

Rafael J. Wysocki
2007-02-19T11:39:01Z

On Monday, 19 February 2007 01:29, Andrew Morton wrote:
> On Mon, 19 Feb 2007 00:33:26 +0100 "Rafael J. Wysocki" <rjw@sisk.pl> wrote:
>
> > On Sunday, 18 February 2007 06:51, Andrew Morton wrote:
> > >
> > > Temporarily at
> > >
> > > http://userweb.kernel.org/~akpm/2.6.20-mm2/
> > >
> > > Will appear later at
> > >
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.20/2.6.20-mm2/
> >
> > I think something like this is generally necessary:
> >
> > ---
> > drivers/pci/quirks.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > Index: linux-2.6.20-mm2/drivers/pci/quirks.c
> > ===================================================================
> > --- linux-2.6.20-mm2.orig/drivers/pci/quirks.c
> > +++ linux-2.6.20-mm2/drivers/pci/quirks.c
> > @@ -21,6 +21,7 @@
> > #include <linux/init.h>
> > #include <linux/delay.h>
> > #include <linux/acpi.h>
> > +#include <asm/apicdef.h>
> > #include "pci.h"
> >
> > /* The Mellanox Tavor device gives false positive parity errors
>
> Will break all non-x86.

You're right, I should have put that somewhere under #ifdef

> What are we trying to fix here?

MAX_IO_APICS undefined.