Re: 2.6.20-mm2: compilation fix

From: Rafael J. Wysocki
Date: Mon Feb 19 2007 - 06:39:26 EST


On Monday, 19 February 2007 01:29, Andrew Morton wrote:
> On Mon, 19 Feb 2007 00:33:26 +0100 "Rafael J. Wysocki" <rjw@xxxxxxx> 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/