src/hotspot/os_cpu/linux_ppc/atomic_linux_ppc.hpp
changeset 53244 9807daeb47c4
parent 50029 ea0a16ba6ac0
child 54069 c4fb912f3085
equal deleted inserted replaced
53243:8bea4144b21c 53244:9807daeb47c4
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * Copyright (c) 2012, 2018 SAP SE. All rights reserved.
     3  * Copyright (c) 2012, 2018 SAP SE. All rights reserved.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5  *
     5  *
     6  * This code is free software; you can redistribute it and/or modify it
     6  * This code is free software; you can redistribute it and/or modify it
     7  * under the terms of the GNU General Public License version 2 only, as
     7  * under the terms of the GNU General Public License version 2 only, as
    21  * or visit www.oracle.com if you need additional information or have any
    21  * or visit www.oracle.com if you need additional information or have any
    22  * questions.
    22  * questions.
    23  *
    23  *
    24  */
    24  */
    25 
    25 
    26 #ifndef OS_CPU_LINUX_PPC_VM_ATOMIC_LINUX_PPC_HPP
    26 #ifndef OS_CPU_LINUX_PPC_ATOMIC_LINUX_PPC_HPP
    27 #define OS_CPU_LINUX_PPC_VM_ATOMIC_LINUX_PPC_HPP
    27 #define OS_CPU_LINUX_PPC_ATOMIC_LINUX_PPC_HPP
    28 
    28 
    29 #ifndef PPC64
    29 #ifndef PPC64
    30 #error "Atomic currently only implemented for PPC64"
    30 #error "Atomic currently only implemented for PPC64"
    31 #endif
    31 #endif
    32 
    32 
   413 #undef strasm_acquire
   413 #undef strasm_acquire
   414 #undef strasm_fence
   414 #undef strasm_fence
   415 #undef strasm_nobarrier
   415 #undef strasm_nobarrier
   416 #undef strasm_nobarrier_clobber_memory
   416 #undef strasm_nobarrier_clobber_memory
   417 
   417 
   418 #endif // OS_CPU_LINUX_PPC_VM_ATOMIC_LINUX_PPC_HPP
   418 #endif // OS_CPU_LINUX_PPC_ATOMIC_LINUX_PPC_HPP