diff src/os/linux/vm/thread_linux.inline.hpp @ 7212:291ffc492eb6

Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author Doug Simon <doug.simon@oracle.com>
date Fri, 14 Dec 2012 14:35:13 +0100
parents f34d701e952e
children ce8f6bb717c9
line wrap: on
line diff
--- a/src/os/linux/vm/thread_linux.inline.hpp	Fri Dec 14 10:20:54 2012 +0100
+++ b/src/os/linux/vm/thread_linux.inline.hpp	Fri Dec 14 14:35:13 2012 +0100
@@ -25,6 +25,10 @@
 #ifndef OS_LINUX_VM_THREAD_LINUX_INLINE_HPP
 #define OS_LINUX_VM_THREAD_LINUX_INLINE_HPP
 
+#ifndef SHARE_VM_RUNTIME_THREAD_INLINE_HPP_SCOPE
+#error "This file should only be included from thread.inline.hpp"
+#endif
+
 #include "runtime/atomic.hpp"
 #include "runtime/prefetch.hpp"
 #include "runtime/thread.hpp"