src/hotspot/os/linux/gc/z/zNUMA_linux.cpp
changeset 54834 39ba09047e19
parent 54160 759a63069fac
child 57875 427b38332f20
--- a/src/hotspot/os/linux/gc/z/zNUMA_linux.cpp	Tue May 14 09:12:06 2019 +0200
+++ b/src/hotspot/os/linux/gc/z/zNUMA_linux.cpp	Tue May 14 09:55:02 2019 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -39,7 +39,7 @@
 #endif
 
 static int z_get_mempolicy(uint32_t* mode, const unsigned long *nmask, unsigned long maxnode, uintptr_t addr, int flags) {
-  return syscall(__NR_get_mempolicy, mode, nmask, maxnode, addr, flags);
+  return syscall(SYS_get_mempolicy, mode, nmask, maxnode, addr, flags);
 }
 
 void ZNUMA::initialize_platform() {