Browse Source
log2ceil() returns the number of bits required to store a value, so we need to pass in memory_size-1, not memory_size. Every other user of log2ceil() gets this right. Signed-off-by: Anton Blanchard <anton@linux.ibm.com>log2ceil-issue
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue