diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-02-03 20:06:12 +0100 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-02-03 20:06:12 +0100 |
| commit | 94282847ec07472e4f50966fdc40695d38b87931 (patch) | |
| tree | d418c59064427079d1153d360b6af18284e43a64 | |
| parent | 35d19fc6fbd7f33a36497516ac7b0bc7d516fcc0 (diff) | |
| parent | ccfb6168c802e563944b548869f5884c5e87706e (diff) | |
| download | plan9front-94282847ec07472e4f50966fdc40695d38b87931.tar.xz | |
merge
| -rw-r--r-- | sys/src/9/port/segment.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/src/9/port/segment.c b/sys/src/9/port/segment.c index ef1c254c5..cd48d52b4 100644 --- a/sys/src/9/port/segment.c +++ b/sys/src/9/port/segment.c @@ -66,7 +66,6 @@ newseg(int type, uintptr base, ulong size) mapsize = ROUND(size, PTEPERTAB)/PTEPERTAB; if(mapsize > nelem(s->ssegmap)){ - mapsize *= 2; if(mapsize > (SEGMAPSIZE*PTEPERTAB)) mapsize = (SEGMAPSIZE*PTEPERTAB); s->map = smalloc(mapsize*sizeof(Pte*)); |
