aboutsummaryrefslogtreecommitdiffstats
path: root/xen/drivers/cpufreq
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2012-09-12 20:54:23 +0100
committerKeir Fraser <keir@xen.org>2012-09-12 20:54:23 +0100
commit4e11d97bd9eb1d8b3aaf5458a303d4da917af59b (patch)
treef9828a4a4fdc9bfcbfeb3f8193c9b6b10cca8ad4 /xen/drivers/cpufreq
parenta9c02a0d888864daeca191d25601725c5177ec40 (diff)
downloadxen-4e11d97bd9eb1d8b3aaf5458a303d4da917af59b.tar.gz
xen-4e11d97bd9eb1d8b3aaf5458a303d4da917af59b.tar.bz2
xen-4e11d97bd9eb1d8b3aaf5458a303d4da917af59b.zip
drivers: Remove some CONFIG_X86 ifdef'ery.
Not quite all, but a great deal was to specifically allow ia64 support to be retrofitted to x86 platform code. Since we no longer support ia64 we can happily remove the ifdefs. Any new platform which wanted to share this code would likely need a different set of ifdefs in any case, making it a brand new porting effort. Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/drivers/cpufreq')
-rw-r--r--xen/drivers/cpufreq/cpufreq.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/xen/drivers/cpufreq/cpufreq.c b/xen/drivers/cpufreq/cpufreq.c
index a15f6b50c3..1fea575374 100644
--- a/xen/drivers/cpufreq/cpufreq.c
+++ b/xen/drivers/cpufreq/cpufreq.c
@@ -481,8 +481,7 @@ int set_px_pminfo(uint32_t acpi_id, struct xen_processor_performance *dom0_px_in
if ( dom0_px_info->flags & XEN_PX_PSD )
{
-#ifdef CONFIG_X86
- /* for X86, check domain coordination */
+ /* check domain coordination */
if (dom0_px_info->shared_type != CPUFREQ_SHARED_TYPE_ALL &&
dom0_px_info->shared_type != CPUFREQ_SHARED_TYPE_ANY &&
dom0_px_info->shared_type != CPUFREQ_SHARED_TYPE_HW)
@@ -490,7 +489,6 @@ int set_px_pminfo(uint32_t acpi_id, struct xen_processor_performance *dom0_px_in
ret = -EINVAL;
goto out;
}
-#endif
pxpt->shared_type = dom0_px_info->shared_type;
memcpy ((void *)&pxpt->domain_info,