mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: fix assembly vet issues
Add missing function prototypes. Fix function prototypes. Use FP references instead of SP references. Fix variable names. Update comments. Clean up whitespace. (Not for vet.) All fairly minor fixes to make vet happy. Updates #11041 Change-Id: Ifab2cdf235ff61cdc226ab1d84b8467b5ac9446c Reviewed-on: https://go-review.googlesource.com/27713 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
6af7639ae1
commit
71ab9fa312
52 changed files with 361 additions and 356 deletions
|
|
@ -131,7 +131,7 @@ func osinit() {
|
|||
ncpu = getncpu()
|
||||
}
|
||||
|
||||
func tstart_sysvicall()
|
||||
func tstart_sysvicall(newm *m) uint32
|
||||
|
||||
// May run with m.p==nil, so write barriers are not allowed.
|
||||
//go:nowritebarrier
|
||||
|
|
@ -565,7 +565,7 @@ func sysconf(name int32) int64 {
|
|||
return int64(sysvicall1(&libc_sysconf, uintptr(name)))
|
||||
}
|
||||
|
||||
func usleep1(uint32)
|
||||
func usleep1(usec uint32)
|
||||
|
||||
//go:nosplit
|
||||
func usleep(µs uint32) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue