summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--java/openjdk8/files/patch-hotspot_src_cpu_ppc_vm_vm_version_ppc.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/java/openjdk8/files/patch-hotspot_src_cpu_ppc_vm_vm_version_ppc.cpp b/java/openjdk8/files/patch-hotspot_src_cpu_ppc_vm_vm_version_ppc.cpp
new file mode 100644
index 000000000000..f5ab1641093c
--- /dev/null
+++ b/java/openjdk8/files/patch-hotspot_src_cpu_ppc_vm_vm_version_ppc.cpp
@@ -0,0 +1,17 @@
+--- hotspot/src/cpu/ppc/vm/vm_version_ppc.cpp.orig
++++ hotspot/src/cpu/ppc/vm/vm_version_ppc.cpp
+@@ -38,8 +38,13 @@
+ #ifdef TARGET_OS_FAMILY_linux
+ # include "os_linux.inline.hpp"
+ #endif
+-
++#ifdef TARGET_OS_FAMILY_bsd
++# include "os_bsd.inline.hpp"
++#endif
++
++#ifndef TARGET_OS_FAMILY_bsd
+ # include <sys/sysinfo.h>
++#endif
+
+ int VM_Version::_features = VM_Version::unknown_m;
+ int VM_Version::_measured_cache_line_size = 128; // default value