commit | 71e1f55ad4bc4c8bcfe696400a950a34263a750e | [log] [tgz] |
---|---|---|
author | Michael Ellerman <michael@ellerman.id.au> | Wed Aug 03 20:21:26 2005 +1000 |
committer | Paul Mackerras <paulus@samba.org> | Mon Aug 29 10:53:37 2005 +1000 |
tree | d8355e0b1302b201114c9998570c0a4ee7a26fcc | |
parent | 180379dcefb39e8bd05d562b0685e9084dffcc0a [diff] |
[PATCH] ppc64: Simplify some lmb functions lmb_phys_mem_size() can always return lmb.memory.size, as long as it's called after lmb_analyze(), which it is. There's no need to recalculate the size on every call. lmb_analyze() was calculating a few things we then threw away, so just don't calculate them to start with. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>