diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-09-22 15:24:03 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-09-22 15:24:03 +0100 |
commit | 755af07edba1768cefdc33851b70fc21bc17e0f6 (patch) | |
tree | 93726c2d9f64fac39d5f28895ef9a4bf0d2e5c0b /xen/include/acpi | |
parent | 23f36ed6ff84de351caab8903b9909ec22e5d294 (diff) | |
download | xen-755af07edba1768cefdc33851b70fc21bc17e0f6.tar.gz xen-755af07edba1768cefdc33851b70fc21bc17e0f6.tar.bz2 xen-755af07edba1768cefdc33851b70fc21bc17e0f6.zip |
x86/cpufreq: don't use static array for large per-CPU data structures
... as this is rather wasteful when Xen is configured to support many
CPUs but is running on systems having only a few.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/include/acpi')
-rw-r--r-- | xen/include/acpi/cpufreq/processor_perf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/include/acpi/cpufreq/processor_perf.h b/xen/include/acpi/cpufreq/processor_perf.h index 025c123da9..75afcf3f23 100644 --- a/xen/include/acpi/cpufreq/processor_perf.h +++ b/xen/include/acpi/cpufreq/processor_perf.h @@ -41,7 +41,7 @@ struct processor_pminfo { struct processor_performance perf; }; -extern struct processor_pminfo processor_pminfo[NR_CPUS]; +extern struct processor_pminfo *processor_pminfo[NR_CPUS]; struct px_stat { uint8_t total; /* total Px states */ @@ -58,6 +58,6 @@ struct pm_px { uint64_t prev_idle_wall; }; -extern struct pm_px px_statistic_data[NR_CPUS]; +extern struct pm_px *px_statistic_data[NR_CPUS]; #endif /* __XEN_PROCESSOR_PM_H__ */ |