This file carries out various dangerous operations that aren't properly
virtualized yet, and the code provided there really isn't needed only
with CONFIG_PM (which gets forced on by ACPI). Hence the attached patch
conditionalizes the compilation of this file upon either
CONFIG_PM_LEGACY (could even be CONFIG_APM) or CONFIG_SOFTWARE_SUSPEND.
Subsequent patches (merging include/asm-i386/mach-xen/asm/* into
include/asm-i386/*) will, along with the actual merge, conditionalize
some of the constructs used here, which would then make the build fail
if this file was still compiled in.
Jan
virtualized yet, and the code provided there really isn't needed only
with CONFIG_PM (which gets forced on by ACPI). Hence the attached patch
conditionalizes the compilation of this file upon either
CONFIG_PM_LEGACY (could even be CONFIG_APM) or CONFIG_SOFTWARE_SUSPEND.
Subsequent patches (merging include/asm-i386/mach-xen/asm/* into
include/asm-i386/*) will, along with the actual merge, conditionalize
some of the constructs used here, which would then make the build fail
if this file was still compiled in.
Jan