changeset 8642:ca4663e58916

8202600: [Zero] Undefined behaviour in src/os_cpu/linux_zero/vm/os_linux_zero.cpp Reviewed-by: stuefe, shade, dholmes
author sgehwolf
date Thu, 03 May 2018 18:59:48 +0200
parents a27880c1288b
children 576949777967
files src/os_cpu/linux_zero/vm/os_linux_zero.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/os_cpu/linux_zero/vm/os_linux_zero.cpp	Tue Apr 14 11:40:13 2015 +0200
+++ b/src/os_cpu/linux_zero/vm/os_linux_zero.cpp	Thu May 03 18:59:48 2018 +0200
@@ -408,6 +408,7 @@
 
 extern "C" {
   int SpinPause() {
+    return 0; // Shouldn't matter.
   }