linux/tools/power/acpi
Lv Zheng b97acdf1b0 ACPICA: MacOSX: Fix wrong sem_destroy definition
ACPICA commit bbcb58f7875381d5c7f3d614bad3bc628a3f5cc6

The following build errors can be seen for MacOSX builds:
.../osunixxf.c:882:9: error: 'sem_close' is deprecated [-Werror,-Wdeprecated-declarations]
.../acmacosx.h:122:29: note: expanded from macro 'sem_destroy'
#define sem_destroy         sem_close

sem_destroy() issue is caused by the wrong order of the following lines:
  #define #sem_destroy        sem_close
  #include <semaphore.h>
This patch fixes it by removing the buggy re-definitiion. Lv Zheng.

Linux is not affected by this change.

Link: https://github.com/acpica/acpica/commit/bbcb58f7
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2016-10-21 01:33:39 +02:00
..
common ACPICA: Clib: Eliminate acpi_os_XXXFile()/acpi_log_error and link clibrary fxxx()/errno/perror() instead 2016-08-13 03:12:32 +02:00
man ACPI / acpidump: Update acpidump manual 2015-07-01 23:17:55 +02:00
os_specific/service_layers ACPICA: MacOSX: Fix wrong sem_destroy definition 2016-10-21 01:33:39 +02:00
tools ACPICA: Cleanup for all string-to-integer conversions 2016-09-10 02:37:59 +02:00
Makefile tools/power/acpi: Add userspace AML interface support 2015-12-15 00:17:44 +01:00
Makefile.config tools/acpi: use CROSS_COMPILE to define prefix 2016-06-23 15:32:16 +02:00
Makefile.rules tools/power/acpi: Add descend support in ACPI tools Makefile 2015-07-31 23:39:31 +02:00