src/hotspot/os_cpu/linux_ppc/orderAccess_linux_ppc.hpp
changeset 53244 9807daeb47c4
parent 51050 96ea37459ca7
child 54323 846bc643f4ef
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, 2014 SAP SE. All rights reserved.
     3  * Copyright (c) 2012, 2014 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_ORDERACCESS_LINUX_PPC_HPP
    26 #ifndef OS_CPU_LINUX_PPC_ORDERACCESS_LINUX_PPC_HPP
    27 #define OS_CPU_LINUX_PPC_VM_ORDERACCESS_LINUX_PPC_HPP
    27 #define OS_CPU_LINUX_PPC_ORDERACCESS_LINUX_PPC_HPP
    28 
    28 
    29 // Included in orderAccess.hpp header file.
    29 // Included in orderAccess.hpp header file.
    30 
    30 
    31 #ifndef PPC64
    31 #ifndef PPC64
    32 #error "OrderAccess currently only implemented for PPC64"
    32 #error "OrderAccess currently only implemented for PPC64"
    92 #undef inlasm_lwsync
    92 #undef inlasm_lwsync
    93 #undef inlasm_eieio
    93 #undef inlasm_eieio
    94 #undef inlasm_isync
    94 #undef inlasm_isync
    95 #undef inlasm_acquire_reg
    95 #undef inlasm_acquire_reg
    96 
    96 
    97 #endif // OS_CPU_LINUX_PPC_VM_ORDERACCESS_LINUX_PPC_HPP
    97 #endif // OS_CPU_LINUX_PPC_ORDERACCESS_LINUX_PPC_HPP