src/os_cpu/linux_zero/vm/threadLS_linux_zero.hpp

Thu, 04 Oct 2012 06:31:07 -0700

author
neliasso
date
Thu, 04 Oct 2012 06:31:07 -0700
changeset 4136
bf2edd3c9b0f
parent 2314
f95d63e2154a
child 6876
710a3c8b516e
permissions
-rw-r--r--

8000102: Resolve include conflicts
Summary: Removing include of c1/c1_runtime.hpp and opto/runtime.hpp from all os-files.
Reviewed-by: kvn
Contributed-by: nils.eliasson@oracle.com

never@1445 1 /*
stefank@2314 2 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
never@1445 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
never@1445 4 *
never@1445 5 * This code is free software; you can redistribute it and/or modify it
never@1445 6 * under the terms of the GNU General Public License version 2 only, as
never@1445 7 * published by the Free Software Foundation.
never@1445 8 *
never@1445 9 * This code is distributed in the hope that it will be useful, but WITHOUT
never@1445 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
never@1445 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
never@1445 12 * version 2 for more details (a copy is included in the LICENSE file that
never@1445 13 * accompanied this code).
never@1445 14 *
never@1445 15 * You should have received a copy of the GNU General Public License version
never@1445 16 * 2 along with this work; if not, write to the Free Software Foundation,
never@1445 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
never@1445 18 *
trims@1907 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
trims@1907 20 * or visit www.oracle.com if you need additional information or have any
trims@1907 21 * questions.
never@1445 22 *
never@1445 23 */
never@1445 24
stefank@2314 25 #ifndef OS_CPU_LINUX_ZERO_VM_THREADLS_LINUX_ZERO_HPP
stefank@2314 26 #define OS_CPU_LINUX_ZERO_VM_THREADLS_LINUX_ZERO_HPP
stefank@2314 27
never@1445 28 // Processor dependent parts of ThreadLocalStorage
never@1445 29
never@1445 30 public:
never@1445 31 static Thread* thread() {
never@1445 32 return (Thread*) os::thread_local_storage_at(thread_index());
never@1445 33 }
stefank@2314 34
stefank@2314 35 #endif // OS_CPU_LINUX_ZERO_VM_THREADLS_LINUX_ZERO_HPP

mercurial