linux/include/acpi/platform
Adrien Destugues 7afea7bc49 ACPICA: haiku: Fix invalid value used for semaphores
ACPICA commit 49fe4f25483feec2f685b204ef19e28d92979e95

In Haiku, semaphores are represented by integers, not pointers.
So, we can't use NULL as the invalid/destroyed value, the correct value
is -1. Introduce a platform overridable define to allow this.

Fixes #162 (which was closed after coming to the conclusion that this
should be done, but the change was never done).

Link: https://github.com/acpica/acpica/commit/49fe4f25
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2024-08-29 17:26:51 +02:00
..
acenv.h ACPICA: haiku: Fix invalid value used for semaphores 2024-08-29 17:26:51 +02:00
acenvex.h ACPICA: Update all copyrights/signons to 2023 2023-04-06 20:29:11 +02:00
acgcc.h ACPICA: Introduce ACPI_FLEX_ARRAY 2023-04-06 20:29:12 +02:00
acgccex.h ACPICA: Update all copyrights/signons to 2023 2023-04-06 20:29:11 +02:00
aclinux.h ACPICA: Fix GCC 12 dangling-pointer warning 2023-07-10 15:21:03 +02:00
aclinuxex.h mm: add comments for allocation helpers explaining why they are macros 2024-07-12 15:52:20 -07:00
aczephyr.h ACPICA: fix for conflict macro definition on zephyr interface 2023-07-10 15:21:04 +02:00