diff -r f90c822e73f8 -r 2d8a650513c2 src/share/vm/runtime/os.hpp --- a/src/share/vm/runtime/os.hpp Wed Apr 27 01:25:04 2016 +0800 +++ b/src/share/vm/runtime/os.hpp Fri Apr 29 00:06:10 2016 +0800 @@ -22,6 +22,12 @@ * */ +/* + * This file has been modified by Loongson Technology in 2015. These + * modifications are Copyright (c) 2015 Loongson Technology, and are made + * available on the same license terms set forth above. + */ + #ifndef SHARE_VM_RUNTIME_OS_HPP #define SHARE_VM_RUNTIME_OS_HPP @@ -336,6 +342,7 @@ static size_t numa_get_leaf_groups(int *ids, size_t size); static bool numa_topology_changed(); static int numa_get_group_id(); + static int numa_get_cpu_id(); // Page manipulation struct page_info { @@ -787,6 +794,9 @@ #ifdef TARGET_OS_ARCH_linux_x86 # include "os_linux_x86.hpp" #endif +#ifdef TARGET_OS_ARCH_linux_mips +# include "os_linux_mips.hpp" +#endif #ifdef TARGET_OS_ARCH_linux_sparc # include "os_linux_sparc.hpp" #endif