uCleanup in acpi

Pavel Machek (pavel@ucw.cz)
Fri, 7 Jun 2002 13:38:42 +0200


Hi!

No need to have *two* define_bools.

(BTW how do I tell system not to use acpi boot? It dies on boot on one
machine with ACPI turned on, before printk() works...)

Andrew, please apply.
Pavel

--- clean/drivers/acpi/Config.in Mon Jun 3 11:43:29 2002
+++ linux-swsusp/drivers/acpi/Config.in Fri Jun 7 13:37:13 2002
@@ -12,10 +12,9 @@
bool 'CPU Enumeration Only' CONFIG_ACPI_HT_ONLY
fi

- if [ "$CONFIG_ACPI_HT_ONLY" = "y" ]; then
- define_bool CONFIG_ACPI_BOOT y
- else
- define_bool CONFIG_ACPI_BOOT y
+ define_bool CONFIG_ACPI_BOOT y
+
+ if [ "$CONFIG_ACPI_HT_ONLY" != "y" ]; then
define_bool CONFIG_ACPI_BUS y
define_bool CONFIG_ACPI_INTERPRETER y
define_bool CONFIG_ACPI_EC y

-- 
(about SSSCA) "I don't say this lightly.  However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/