ia64/xen-unstable
changeset 18564:0a8ea3bbeb3d
[IA64] Compilation fix to cpufreq stuff.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Wed Oct 01 09:31:13 2008 +0100 (2008-10-01) |
parents | 782599274bf9 |
children | 616eea24aefa |
files | xen/arch/ia64/xen/Makefile xen/arch/ia64/xen/cpufreq/Makefile xen/arch/ia64/xen/cpufreq/cpufreq.c |
line diff
1.1 --- a/xen/arch/ia64/xen/Makefile Tue Sep 30 10:14:54 2008 +0100 1.2 +++ b/xen/arch/ia64/xen/Makefile Wed Oct 01 09:31:13 2008 +0100 1.3 @@ -1,4 +1,5 @@ 1.4 subdir-y += oprofile 1.5 +subdir-y += cpufreq 1.6 1.7 obj-y += relocate_kernel.o 1.8 obj-y += machine_kexec.o
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/xen/arch/ia64/xen/cpufreq/Makefile Wed Oct 01 09:31:13 2008 +0100 2.3 @@ -0,0 +1,1 @@ 2.4 +obj-y += cpufreq.o
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/xen/arch/ia64/xen/cpufreq/cpufreq.c Wed Oct 01 09:31:13 2008 +0100 3.3 @@ -0,0 +1,21 @@ 3.4 + 3.5 +#include <xen/errno.h> 3.6 +#include <acpi/acpi.h> 3.7 +#include <acpi/cpufreq/processor_perf.h> 3.8 +#include <public/platform.h> 3.9 + 3.10 +int get_cpu_id(u8 acpi_id) 3.11 +{ 3.12 + return -1; 3.13 +} 3.14 + 3.15 +int xenpf_copy_px_states(struct processor_performance *pxpt, 3.16 + struct xen_processor_performance *dom0_px_info) 3.17 +{ 3.18 + return -ENOSYS; 3.19 +} 3.20 + 3.21 +int cpufreq_cpu_init(unsigned int cpuid) 3.22 +{ 3.23 + return -ENOSYS; 3.24 +}