hotspot/src/os/linux/vm/os_linux.hpp
changeset 10239 c7af330d33d9
parent 9335 7bdd2a3ab3d8
child 12735 3e2e491f4f69
--- a/hotspot/src/os/linux/vm/os_linux.hpp	Fri Aug 05 16:44:01 2011 -0700
+++ b/hotspot/src/os/linux/vm/os_linux.hpp	Fri Aug 05 16:50:14 2011 -0700
@@ -263,6 +263,7 @@
   static void set_numa_tonode_memory(numa_tonode_memory_func_t func) { _numa_tonode_memory = func; }
   static void set_numa_interleave_memory(numa_interleave_memory_func_t func) { _numa_interleave_memory = func; }
   static void set_numa_all_nodes(unsigned long* ptr) { _numa_all_nodes = ptr; }
+  static int sched_getcpu_syscall(void);
 public:
   static int sched_getcpu()  { return _sched_getcpu != NULL ? _sched_getcpu() : -1; }
   static int numa_node_to_cpus(int node, unsigned long *buffer, int bufferlen) {