poly_int: get_mask_mode
[official-gcc.git] / libgo / runtime / getncpu-aix.c
blob064eed8570cdf3533b4f1c8adf236709d90d63a6
1 // Copyright 2012 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
5 #include <sys/types.h>
6 #include <sys/systemcfg.h>
8 #include "runtime.h"
9 #include "defs.h"
11 int32_t
12 getproccount(void)
14 return _system_configuration.ncpus;