diff options
Diffstat (limited to 'libgo/runtime/getncpu-irix.c')
-rw-r--r-- | libgo/runtime/getncpu-irix.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libgo/runtime/getncpu-irix.c b/libgo/runtime/getncpu-irix.c deleted file mode 100644 index a65ca63d2ae..00000000000 --- a/libgo/runtime/getncpu-irix.c +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2012 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -#include <unistd.h> - -#include "runtime.h" -#include "defs.h" - -int32 -getproccount(void) -{ - int32 n; - n = (int32)sysconf(_SC_NPROC_ONLN); - return n > 1 ? n : 1; -} |