1
0
mirror of https://github.com/golang/go synced 2024-11-24 22:47:58 -07:00

runtime: fix "SysReserve returned unaligned address" bug on 32-bit systems

R=rsc
CC=golang-dev
https://golang.org/cl/5642064
This commit is contained in:
Shenghou Ma 2012-02-09 09:25:10 +11:00 committed by Nigel Tao
parent c59dc485cd
commit 073aeff785

View File

@ -261,6 +261,8 @@ runtime·mallocinit(void)
extern byte end[]; extern byte end[];
byte *want; byte *want;
p = nil;
runtime·InitSizes(); runtime·InitSizes();
// Set up the allocation arena, a contiguous area of memory where // Set up the allocation arena, a contiguous area of memory where