Re: [PATCH] bogus #if (acpi/blacklist)

From: Len Brown
Date: Wed Sep 21 2005 - 22:39:29 EST


On Fri, 2005-09-09 at 12:55 -0400, Roman Zippel wrote:
> Hi,
>
> On Fri, 9 Sep 2005 viro@xxxxxxxxxxxxxxxxxx wrote:
>
> > Sigh... It should be left as #if, of course, but I suspect that
> cleaner way to
> > deal with that would be (in Kconfig)
> >
> > config ACPI_BLACKLIST_YEAR
> > int "Disable ACPI for systems before Jan 1st this year" if
> X86
> > default 0
>
> That would be indeed the better fix.

The real bug is that drivers/acpi/blacklist.c (the only place
CONFIG_ACPI_BLACLIST_YEAR is referenced) is compiled for non X86.

-Len


-
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/