diff options
author | Lv Zheng <lv.zheng@intel.com> | 2012-12-19 20:07:26 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-10 06:36:17 -0500 |
commit | 739dcbb90a347a66f25cc0c3ef4eef3d4558f409 (patch) | |
tree | e71b91e0ac7195bbf201d06f41748e717ee8a968 /include/acpi/acpiosxf.h | |
parent | 56324c1090ecf057c89a4d470a23a8ca61061b61 (diff) |
ACPICA: Cleanup source to reduce differences between Linux and ACPICA.
This is a cosmetic patch only. Comparison of the resulting binary showed
only line number differences.
This patch does not affect the generation of the Linux binary.
This patch decreases 389 lines of 20121018 divergence.diff.
This patch reduces source code diff caused by the simple code maintenance
work:
1. Deletion of the unused include files.
2. Deletion of the deprecated codes blocks.
3. Repositioning of the code blocks.
4. Replacing the values with the well defined macros.
5. Replacing the types with the equivalent types.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/acpiosxf.h')
-rw-r--r-- | include/acpi/acpiosxf.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/acpi/acpiosxf.h b/include/acpi/acpiosxf.h index 43152742b46f..33a3e17da362 100644 --- a/include/acpi/acpiosxf.h +++ b/include/acpi/acpiosxf.h | |||
@@ -148,6 +148,8 @@ void acpi_os_release_mutex(acpi_mutex handle); | |||
148 | */ | 148 | */ |
149 | void *acpi_os_allocate(acpi_size size); | 149 | void *acpi_os_allocate(acpi_size size); |
150 | 150 | ||
151 | void acpi_os_free(void *memory); | ||
152 | |||
151 | void __iomem *acpi_os_map_memory(acpi_physical_address where, | 153 | void __iomem *acpi_os_map_memory(acpi_physical_address where, |
152 | acpi_size length); | 154 | acpi_size length); |
153 | 155 | ||
@@ -180,12 +182,13 @@ acpi_status acpi_os_release_object(acpi_cache_t * cache, void *object); | |||
180 | * Interrupt handlers | 182 | * Interrupt handlers |
181 | */ | 183 | */ |
182 | acpi_status | 184 | acpi_status |
183 | acpi_os_install_interrupt_handler(u32 gsi, | 185 | acpi_os_install_interrupt_handler(u32 interrupt_number, |
184 | acpi_osd_handler service_routine, | 186 | acpi_osd_handler service_routine, |
185 | void *context); | 187 | void *context); |
186 | 188 | ||
187 | acpi_status | 189 | acpi_status |
188 | acpi_os_remove_interrupt_handler(u32 gsi, acpi_osd_handler service_routine); | 190 | acpi_os_remove_interrupt_handler(u32 interrupt_number, |
191 | acpi_osd_handler service_routine); | ||
189 | 192 | ||
190 | void acpi_os_gpe_count(u32 gpe_number); | 193 | void acpi_os_gpe_count(u32 gpe_number); |
191 | void acpi_os_fixed_event_count(u32 fixed_event_number); | 194 | void acpi_os_fixed_event_count(u32 fixed_event_number); |