diff src/os_cpu/linux_zero/vm/os_linux_zero.hpp @ 14390:0f03ff49c720

8016491: PPC64 (part 2): Clean up PPC defines. Summary: Distinguish PPC, PPC64 and PPC32. PPC should guard code needed on any PPC system. PPC32 and PPC64 should guard code needed in a port for the ppc64 or ppc32 instruction set. Reviewed-by: kvn
author goetz
date Wed, 19 Jun 2013 12:29:30 +0200
parents f95d63e2154a
children 4ca6dc0799b6
line wrap: on
line diff
--- a/src/os_cpu/linux_zero/vm/os_linux_zero.hpp	Wed Jun 19 12:15:50 2013 +0200
+++ b/src/os_cpu/linux_zero/vm/os_linux_zero.hpp	Wed Jun 19 12:29:30 2013 +0200
@@ -36,7 +36,7 @@
 
   // Atomically copy 64 bits of data
   static void atomic_copy64(volatile void *src, volatile void *dst) {
-#if defined(PPC) && !defined(_LP64)
+#if defined(PPC32)
     double tmp;
     asm volatile ("lfd  %0, 0(%1)\n"
                   "stfd %0, 0(%2)\n"