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 /include | |
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 'include')
-rw-r--r-- | include/acpi/acpi_bus.h | 6 | ||||
-rw-r--r-- | include/acpi/processor.h | 42 |
2 files changed, 24 insertions, 24 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index 3cd9ccdcbd8f..71c105c9b0ee 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h | |||
@@ -250,8 +250,8 @@ struct acpi_device_wakeup_state { | |||
250 | 250 | ||
251 | struct acpi_device_wakeup { | 251 | struct acpi_device_wakeup { |
252 | acpi_handle gpe_device; | 252 | acpi_handle gpe_device; |
253 | acpi_integer gpe_number; | 253 | u64 gpe_number; |
254 | acpi_integer sleep_state; | 254 | u64 sleep_state; |
255 | struct acpi_handle_list resources; | 255 | struct acpi_handle_list resources; |
256 | struct acpi_device_wakeup_state state; | 256 | struct acpi_device_wakeup_state state; |
257 | struct acpi_device_wakeup_flags flags; | 257 | struct acpi_device_wakeup_flags flags; |
@@ -380,7 +380,7 @@ struct acpi_pci_root { | |||
380 | }; | 380 | }; |
381 | 381 | ||
382 | /* helper */ | 382 | /* helper */ |
383 | acpi_handle acpi_get_child(acpi_handle, acpi_integer); | 383 | acpi_handle acpi_get_child(acpi_handle, u64); |
384 | int acpi_is_root_bridge(acpi_handle); | 384 | int acpi_is_root_bridge(acpi_handle); |
385 | acpi_handle acpi_get_pci_rootbridge_handle(unsigned int, unsigned int); | 385 | acpi_handle acpi_get_pci_rootbridge_handle(unsigned int, unsigned int); |
386 | struct acpi_pci_root *acpi_pci_find_root(acpi_handle handle); | 386 | struct acpi_pci_root *acpi_pci_find_root(acpi_handle handle); |
diff --git a/include/acpi/processor.h b/include/acpi/processor.h index 0ea5ef4eb6a9..29831768c0e6 100644 --- a/include/acpi/processor.h +++ b/include/acpi/processor.h | |||
@@ -92,11 +92,11 @@ struct acpi_processor_power { | |||
92 | /* Performance Management */ | 92 | /* Performance Management */ |
93 | 93 | ||
94 | struct acpi_psd_package { | 94 | struct acpi_psd_package { |
95 | acpi_integer num_entries; | 95 | u64 num_entries; |
96 | acpi_integer revision; | 96 | u64 revision; |
97 | acpi_integer domain; | 97 | u64 domain; |
98 | acpi_integer coord_type; | 98 | u64 coord_type; |
99 | acpi_integer num_processors; | 99 | u64 num_processors; |
100 | } __attribute__ ((packed)); | 100 | } __attribute__ ((packed)); |
101 | 101 | ||
102 | struct acpi_pct_register { | 102 | struct acpi_pct_register { |
@@ -110,12 +110,12 @@ struct acpi_pct_register { | |||
110 | } __attribute__ ((packed)); | 110 | } __attribute__ ((packed)); |
111 | 111 | ||
112 | struct acpi_processor_px { | 112 | struct acpi_processor_px { |
113 | acpi_integer core_frequency; /* megahertz */ | 113 | u64 core_frequency; /* megahertz */ |
114 | acpi_integer power; /* milliWatts */ | 114 | u64 power; /* milliWatts */ |
115 | acpi_integer transition_latency; /* microseconds */ | 115 | u64 transition_latency; /* microseconds */ |
116 | acpi_integer bus_master_latency; /* microseconds */ | 116 | u64 bus_master_latency; /* microseconds */ |
117 | acpi_integer control; /* control value */ | 117 | u64 control; /* control value */ |
118 | acpi_integer status; /* success indicator */ | 118 | u64 status; /* success indicator */ |
119 | }; | 119 | }; |
120 | 120 | ||
121 | struct acpi_processor_performance { | 121 | struct acpi_processor_performance { |
@@ -133,11 +133,11 @@ struct acpi_processor_performance { | |||
133 | /* Throttling Control */ | 133 | /* Throttling Control */ |
134 | 134 | ||
135 | struct acpi_tsd_package { | 135 | struct acpi_tsd_package { |
136 | acpi_integer num_entries; | 136 | u64 num_entries; |
137 | acpi_integer revision; | 137 | u64 revision; |
138 | acpi_integer domain; | 138 | u64 domain; |
139 | acpi_integer coord_type; | 139 | u64 coord_type; |
140 | acpi_integer num_processors; | 140 | u64 num_processors; |
141 | } __attribute__ ((packed)); | 141 | } __attribute__ ((packed)); |
142 | 142 | ||
143 | struct acpi_ptc_register { | 143 | struct acpi_ptc_register { |
@@ -151,11 +151,11 @@ struct acpi_ptc_register { | |||
151 | } __attribute__ ((packed)); | 151 | } __attribute__ ((packed)); |
152 | 152 | ||
153 | struct acpi_processor_tx_tss { | 153 | struct acpi_processor_tx_tss { |
154 | acpi_integer freqpercentage; /* */ | 154 | u64 freqpercentage; /* */ |
155 | acpi_integer power; /* milliWatts */ | 155 | u64 power; /* milliWatts */ |
156 | acpi_integer transition_latency; /* microseconds */ | 156 | u64 transition_latency; /* microseconds */ |
157 | acpi_integer control; /* control value */ | 157 | u64 control; /* control value */ |
158 | acpi_integer status; /* success indicator */ | 158 | u64 status; /* success indicator */ |
159 | }; | 159 | }; |
160 | struct acpi_processor_tx { | 160 | struct acpi_processor_tx { |
161 | u16 power; | 161 | u16 power; |