8197572: s390 build broken after 8165929
authormdoerr
Mon, 12 Feb 2018 15:29:35 +0100
changeset 48956 400f4d17a3c6
parent 48955 e22914003cf0
child 48957 af49718d8cf2
8197572: s390 build broken after 8165929 Reviewed-by: coleenp
src/hotspot/cpu/s390/copy_s390.hpp
--- a/src/hotspot/cpu/s390/copy_s390.hpp	Sun Feb 11 03:12:15 2018 -0500
+++ b/src/hotspot/cpu/s390/copy_s390.hpp	Mon Feb 12 15:29:35 2018 +0100
@@ -740,13 +740,13 @@
 #endif
 }
 
-static void pd_disjoint_words_atomic(HeapWord* from, HeapWord* to, size_t count) {
+static void pd_disjoint_words_atomic(const HeapWord* from, HeapWord* to, size_t count) {
   // JVM2008: < 4k calls.
   assert(((((size_t)from) & 0x07L) | (((size_t)to) & 0x07L)) == 0, "No atomic copy w/o aligned data");
   pd_aligned_disjoint_words(from, to, count); // Rare calls -> just delegate.
 }
 
-static void pd_disjoint_words(HeapWord* from, HeapWord* to, size_t count) {
+static void pd_disjoint_words(const HeapWord* from, HeapWord* to, size_t count) {
   // JVM2008: very rare.
   pd_aligned_disjoint_words(from, to, count); // Rare calls -> just delegate.
 }