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

Eric Piel
2005-09-09T16:19:20Z

09/09/2005 06:07 PM, viro@zeniv.linux.org.uk wrote/a écrit:
> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
> ----
> diff -urN RC13-git8-base/drivers/acpi/blacklist.c current/drivers/acpi/blacklist.c
> --- RC13-git8-base/drivers/acpi/blacklist.c 2005-09-08 23:42:49.000000000 -0400
> +++ current/drivers/acpi/blacklist.c 2005-09-09 11:28:44.000000000 -0400
> @@ -73,7 +73,7 @@
> {""}
> };
>
> -#if CONFIG_ACPI_BLACKLIST_YEAR
> +#ifdef CONFIG_ACPI_BLACKLIST_YEAR
>
> static int __init blacklist_by_year(void)
> {

Are you sure about this? IIRC, CONFIG_ACPI_BLACKLIST_YEAR is defined to
0 when it should not be blacklisted. In drivers/acpi/Kconfig :
Enter 0 to disable this mechanism and allow ACPI to
run by default no matter what the year. (default)

Eric