summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorWill Miles <wmiles@sgl.com>2016-03-24 09:40:26 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-04-05 03:53:32 +0200
commit53c78d75d8a4615e5c2f1d9fe94f25e049f0e61b (patch)
treeb09d2edaab05500fcb0df5ea3654694ab1c2403c /tools
parent95df7b5e4c9c7a6b1e75d7bbc16ac19ee2784379 (diff)
downloadop-kernel-dev-53c78d75d8a4615e5c2f1d9fe94f25e049f0e61b.zip
op-kernel-dev-53c78d75d8a4615e5c2f1d9fe94f25e049f0e61b.tar.gz
ACPICA: Add support for QNX 6.6 platform
ACPICA commit 37a1dec2391272251e59948c16c60713183ae78f Link: https://github.com/acpica/acpica/commit/37a1dec2 Signed-off-by: Will Miles <wmiles@sgl.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/power/acpi/os_specific/service_layers/osunixmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/power/acpi/os_specific/service_layers/osunixmap.c b/tools/power/acpi/os_specific/service_layers/osunixmap.c
index 3818fd0..cbfbce1 100644
--- a/tools/power/acpi/os_specific/service_layers/osunixmap.c
+++ b/tools/power/acpi/os_specific/service_layers/osunixmap.c
@@ -54,7 +54,7 @@ ACPI_MODULE_NAME("osunixmap")
#ifndef O_BINARY
#define O_BINARY 0
#endif
-#if defined(_dragon_fly) || defined(_free_BSD)
+#if defined(_dragon_fly) || defined(_free_BSD) || defined(_QNX)
#define MMAP_FLAGS MAP_SHARED
#else
#define MMAP_FLAGS MAP_PRIVATE
OpenPOWER on IntegriCloud