Fixed bug in RISC-V env_user_mem_free
authorYour Name <waterman@eecs.berkeley.edu>
Sat, 12 Nov 2011 08:04:39 +0000 (00:04 -0800)
committerYour Name <waterman@eecs.berkeley.edu>
Sat, 12 Nov 2011 08:04:39 +0000 (00:04 -0800)
commite3967039b2f86de1eb9c1aa537fe02543b3ff86f
treeddc6749cb843abad8e11925147561834bc2fdf6b
parent13d680d6b10e9c010ff4669a358dfdff6dd717b8
Fixed bug in RISC-V env_user_mem_free

It was rounding up to the largest page size, causing
procinfo/procdata to be freed on sys_exec.
kern/arch/riscv/env.c