diff options
author | Sascha Wildner <swildner@gmail.com> | 2015-07-01 14:43:57 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-07-01 23:17:53 +0200 |
commit | cbc823405a48c93a6e98bb97ccdcb23ae034ab93 (patch) | |
tree | b30b30b02115f23c463879ad0f523680e59258d8 | |
parent | 07cf6ce595882c71cc5bd6c551820398b9e7f613 (diff) | |
download | linux-cbc823405a48c93a6e98bb97ccdcb23ae034ab93.tar.gz linux-cbc823405a48c93a6e98bb97ccdcb23ae034ab93.tar.bz2 linux-cbc823405a48c93a6e98bb97ccdcb23ae034ab93.zip |
ACPICA: Add dragon_fly support to unix file mapping file
ACPICA commit 795b215d6fd062386f0a1c23dff9ffa244683c4f
ACPICA BZ 1130
This patch doesn't affect Linux kernel.
Link: https://bugs.acpica.org/show_bug.cgi?id=1130
Link: https://github.com/acpica/acpica/commit/795b215d
Signed-off-by: Sascha Wildner <swildner@gmail.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>
-rw-r--r-- | tools/power/acpi/os_specific/service_layers/osunixmap.c | 2 |
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 0b1fa290245a..44ad4889d468 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 -#ifdef _free_BSD +#if defined(_dragon_fly) || defined(_free_BSD) #define MMAP_FLAGS MAP_SHARED #else #define MMAP_FLAGS MAP_PRIVATE |