diff options
author | Lin Ming <ming.m.lin@intel.com> | 2010-01-27 21:53:19 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-01-28 01:47:33 -0500 |
commit | 439913fffd39374c3737186b22d2d56c3a0ae526 (patch) | |
tree | f6d5c809c1b77950a2cf7174fdee8667d527c87b /arch | |
parent | aea9c04bcc257caad9841c283b90ec1b28267fae (diff) |
ACPI: replace acpi_integer by u64
acpi_integer is now obsolete and removed from the ACPICA code base,
replaced by u64.
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ia64/hp/common/aml_nfw.c | 6 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/powernow-k8.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/arch/ia64/hp/common/aml_nfw.c b/arch/ia64/hp/common/aml_nfw.c index 4abd2c79bb1d..22078486d35d 100644 --- a/arch/ia64/hp/common/aml_nfw.c +++ b/arch/ia64/hp/common/aml_nfw.c | |||
@@ -77,7 +77,7 @@ static void aml_nfw_execute(struct ia64_nfw_context *c) | |||
77 | c->arg[4], c->arg[5], c->arg[6], c->arg[7]); | 77 | c->arg[4], c->arg[5], c->arg[6], c->arg[7]); |
78 | } | 78 | } |
79 | 79 | ||
80 | static void aml_nfw_read_arg(u8 *offset, u32 bit_width, acpi_integer *value) | 80 | static void aml_nfw_read_arg(u8 *offset, u32 bit_width, u64 *value) |
81 | { | 81 | { |
82 | switch (bit_width) { | 82 | switch (bit_width) { |
83 | case 8: | 83 | case 8: |
@@ -95,7 +95,7 @@ static void aml_nfw_read_arg(u8 *offset, u32 bit_width, acpi_integer *value) | |||
95 | } | 95 | } |
96 | } | 96 | } |
97 | 97 | ||
98 | static void aml_nfw_write_arg(u8 *offset, u32 bit_width, acpi_integer *value) | 98 | static void aml_nfw_write_arg(u8 *offset, u32 bit_width, u64 *value) |
99 | { | 99 | { |
100 | switch (bit_width) { | 100 | switch (bit_width) { |
101 | case 8: | 101 | case 8: |
@@ -114,7 +114,7 @@ static void aml_nfw_write_arg(u8 *offset, u32 bit_width, acpi_integer *value) | |||
114 | } | 114 | } |
115 | 115 | ||
116 | static acpi_status aml_nfw_handler(u32 function, acpi_physical_address address, | 116 | static acpi_status aml_nfw_handler(u32 function, acpi_physical_address address, |
117 | u32 bit_width, acpi_integer *value, void *handler_context, | 117 | u32 bit_width, u64 *value, void *handler_context, |
118 | void *region_context) | 118 | void *region_context) |
119 | { | 119 | { |
120 | struct ia64_nfw_context *context = handler_context; | 120 | struct ia64_nfw_context *context = handler_context; |
diff --git a/arch/x86/kernel/cpu/cpufreq/powernow-k8.c b/arch/x86/kernel/cpu/cpufreq/powernow-k8.c index f125e5c551c0..55d42bc443e8 100644 --- a/arch/x86/kernel/cpu/cpufreq/powernow-k8.c +++ b/arch/x86/kernel/cpu/cpufreq/powernow-k8.c | |||
@@ -806,7 +806,7 @@ static int find_psb_table(struct powernow_k8_data *data) | |||
806 | static void powernow_k8_acpi_pst_values(struct powernow_k8_data *data, | 806 | static void powernow_k8_acpi_pst_values(struct powernow_k8_data *data, |
807 | unsigned int index) | 807 | unsigned int index) |
808 | { | 808 | { |
809 | acpi_integer control; | 809 | u64 control; |
810 | 810 | ||
811 | if (!data->acpi_data.state_count || (cpu_family == CPU_HW_PSTATE)) | 811 | if (!data->acpi_data.state_count || (cpu_family == CPU_HW_PSTATE)) |
812 | return; | 812 | return; |
@@ -824,7 +824,7 @@ static int powernow_k8_cpu_init_acpi(struct powernow_k8_data *data) | |||
824 | { | 824 | { |
825 | struct cpufreq_frequency_table *powernow_table; | 825 | struct cpufreq_frequency_table *powernow_table; |
826 | int ret_val = -ENODEV; | 826 | int ret_val = -ENODEV; |
827 | acpi_integer control, status; | 827 | u64 control, status; |
828 | 828 | ||
829 | if (acpi_processor_register_performance(&data->acpi_data, data->cpu)) { | 829 | if (acpi_processor_register_performance(&data->acpi_data, data->cpu)) { |
830 | dprintk("register performance failed: bad ACPI data\n"); | 830 | dprintk("register performance failed: bad ACPI data\n"); |
@@ -948,7 +948,7 @@ static int fill_powernow_table_fidvid(struct powernow_k8_data *data, | |||
948 | u32 fid; | 948 | u32 fid; |
949 | u32 vid; | 949 | u32 vid; |
950 | u32 freq, index; | 950 | u32 freq, index; |
951 | acpi_integer status, control; | 951 | u64 status, control; |
952 | 952 | ||
953 | if (data->exttype) { | 953 | if (data->exttype) { |
954 | status = data->acpi_data.states[i].status; | 954 | status = data->acpi_data.states[i].status; |