Skip to contentSkip to conversation

fix ia64 Kconfig to allow CONFIG_PM on sn2

PATCH New Jesse Barnes 1 participant 1 message Mar 21, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix ia64 Kconfig to allow CONFIG_PM on sn2

This probably should have been fixed when I fixed up the generic build for discontig+numa machines, but oh well.

CONFIG_PM is allowable for generic builds but not for sn2 builds, which doesn't make much sense, and in fact breaks the build if recent ACPI bits are added to the tree. It looks like the only arch that needs to prevent CONFIG_PM stuff is the ski simulator (though those options could probably use some cleanup as well), so remove the big conditional and replace it with a simple test for IA64_HP_SIM instead.

Thanks,
Jesse

===== arch/ia64/Kconfig 1.85 vs edited =====

arch/ia64/Kconfig +1 -1
@@ -328,7 +328,7 @@
 
 config PM
 	bool "Power Management support"
-	depends on IA64_GENERIC || IA64_DIG || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB
+	depends on !IA64_HP_SIM
 	default y
 	help
 	  "Power Management" means that parts of your computer are shut