aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2015-11-11 20:47:25 -0800
committerMatthew Dempsky <mdempsky@google.com>2015-11-12 05:13:47 +0000
commit58bc561d1a94b789eabefba278fb6587b391f03b (patch)
tree2a9c6ec94aa3b271ef74c73c529bccf53c593cd8 /src
parent2b5dbc1e2dcc2e2e6db135fcd4e186a6f4e8afd7 (diff)
downloadgo-58bc561d1a94b789eabefba278fb6587b391f03b.tar.xz
runtime: fix vet warning about +build rule
cgo_ppc64x.go:7: +build comment must appear before package clause and be followed by a blank line Change-Id: Ib6dedddae70cc75dc3f137eb37ea338a64f8b595 Reviewed-on: https://go-review.googlesource.com/16835 Run-TryBot: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Andrew Gerrand <adg@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/runtime/cgo_ppc64x.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/cgo_ppc64x.go b/src/runtime/cgo_ppc64x.go
index cbc6c41d73..6a1b3bb417 100644
--- a/src/runtime/cgo_ppc64x.go
+++ b/src/runtime/cgo_ppc64x.go
@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-package runtime
-
// +build ppc64 ppc64le
+package runtime
+
// crosscall_ppc64 calls into the runtime to set up the registers the
// Go runtime expects and so the symbol it calls needs to be exported
// for external linking to work.