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

Len Brown
2005-09-22T03:38:28Z

On Fri, 2005-09-09 at 12:55 -0400, Roman Zippel wrote:
> Hi,
>
> On Fri, 9 Sep 2005 viro@ZenIV.linux.org.uk 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