Skip to content

Commit 5219a1e

Browse files
tklauserrsc
authored andcommitted
cpu: add missing linkname for libc_getsystemcfg on aix/ppc64
This fixes the aix/ppc64 build after CL 179178 Change-Id: Ie8d762b533c05d6ca262030b34ae137140896d44 Reviewed-on: https://go-review.googlesource.com/c/sys/+/179317 Run-TryBot: Tobias Klauser <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Russ Cox <[email protected]>
1 parent cc92027 commit 5219a1e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cpu/syscall_aix_ppc64_gc.go

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ import (
1818

1919
//go:cgo_import_dynamic libc_getsystemcfg getsystemcfg "libc.a/shr_64.o"
2020

21+
//go:linkname libc_getsystemcfg libc_getsystemcfg
22+
2123
type syscallFunc uintptr
2224

2325
var libc_getsystemcfg syscallFunc

0 commit comments

Comments
 (0)