changeset 7693:7c7cfa16b0e6

8151058: aarch32: CPU ID is missed at crash log Reviewed-by: enevill Contributed-by: snazarkin@azul.com
author enevill
date Thu, 03 Mar 2016 15:08:19 +0000
parents 5ef83d49c710
children 9666d88e03b2
files src/share/vm/runtime/vm_version.cpp src/share/vm/utilities/macros.hpp
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/runtime/vm_version.cpp	Wed Feb 24 13:36:26 2016 +0000
+++ b/src/share/vm/runtime/vm_version.cpp	Thu Mar 03 15:08:19 2016 +0000
@@ -191,6 +191,7 @@
                  IA64_ONLY("ia64")               \
                  AMD64_ONLY("amd64")             \
                  PPC64_ONLY("ppc64")             \
+                 AARCH32_ONLY("aarch32")         \
                  SPARC_ONLY("sparc")
 #endif // ZERO
 #endif
--- a/src/share/vm/utilities/macros.hpp	Wed Feb 24 13:36:26 2016 +0000
+++ b/src/share/vm/utilities/macros.hpp	Thu Mar 03 15:08:19 2016 +0000
@@ -408,6 +408,14 @@
 #define NOT_ARM32(code) code
 #endif
 
+#ifdef AARCH32
+#define AARCH32_ONLY(code) code
+#define NOT_AARCH32(code)
+#else
+#define AARCH32_ONLY(code)
+#define NOT_AARCH32(code) code
+#endif
+
 #ifdef JAVASE_EMBEDDED
 #define EMBEDDED_ONLY(code) code
 #define NOT_EMBEDDED(code)