[ARM] Fix typo in comment in arm_expand_prologue
[official-gcc.git] / libgo / runtime / thread-sema.c
blob77d53c416843a2c5a2361694fbff27393a1c116a
1 // Copyright 2009 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 "config.h"
6 #include "runtime.h"
8 #include <errno.h>
9 #include <stdlib.h>
10 #include <time.h>
11 #include <unistd.h>
12 #include <semaphore.h>
14 void
15 runtime_osinit (void)
17 runtime_ncpu = getproccount();
18 setncpu(runtime_ncpu);
19 setpagesize(getpagesize());