src/os_cpu/linux_zero/vm/atomic_linux_zero.inline.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. * Copyright 2007, 2008 Red Hat, Inc. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as --- 1,7 ---- /* ! * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright 2007, 2008 Red Hat, Inc. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as
*** 21,30 **** --- 21,38 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ + #ifndef OS_CPU_LINUX_ZERO_VM_ATOMIC_LINUX_ZERO_INLINE_HPP + #define OS_CPU_LINUX_ZERO_VM_ATOMIC_LINUX_ZERO_INLINE_HPP + + #include "orderAccess_linux_zero.inline.hpp" + #include "runtime/atomic.hpp" + #include "runtime/os.hpp" + #include "vm_version_zero.hpp" + // Implementation of class atomic #ifdef M68K /*
*** 289,293 **** --- 297,303 ---- return (void *) cmpxchg_ptr((intptr_t) exchange_value, (volatile intptr_t*) dest, (intptr_t) compare_value); } + + #endif // OS_CPU_LINUX_ZERO_VM_ATOMIC_LINUX_ZERO_INLINE_HPP