Skip to contentSkip to conversation

uCleanup in acpi

PATCH Pavel Machek 1 participant 1 message Jun 7, 2002 ACPI

lore
Share & tools
lore
#0 lore raw

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

drivers/acpi/Config.in +3 -4
@@ -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
Signature · 2 lines
(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