ia64: Fix the build after max_cstate changes.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
Keir Fraser committed 2009-04-01 13:12:13 +01:00
1 parent 3a8690df4a
commit fed6ed29b0
3 files changed
+4 -5

No files matched your search

+2 -2
View File
@@ -530,13 +530,13 @@ int do_pm_op(struct xen_sysctl_pm_op *op)
case XEN_SYSCTL_pm_op_get_max_cstate:
{
op->get_max_cstate = max_cstate;
op->get_max_cstate = acpi_get_cstate_limit();
break;
}
case XEN_SYSCTL_pm_op_set_max_cstate:
{
max_cstate = op->set_max_cstate;
acpi_set_cstate_limit(op->set_max_cstate);
break;
}
+1
View File
@@ -35,6 +35,7 @@
#define CONFIG_ACPI_SLEEP 1
#define CONFIG_ACPI_NUMA 1
#define CONFIG_ACPI_SRAT 1
#define CONFIG_ACPI_CSTATE 1
#define CONFIG_VGA 1
+1 -3
View File
@@ -402,9 +402,7 @@ static inline int acpi_blacklisted(void)
#endif /*!CONFIG_ACPI_INTERPRETER*/
#define ACPI_CSTATE_LIMIT_DEFINED /* for driver builds */
#ifdef CONFIG_ACPI
#ifdef CONFIG_ACPI_CSTATE
/*
* Set highest legal C-state
* 0: C0 okay, but not C1
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.