aboutsummaryrefslogtreecommitdiff
path: root/include/asm-sh
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2005-08-03 20:21:26 +1000
committerPaul Mackerras <paulus@samba.org>2005-08-29 10:53:37 +1000
commit71e1f55ad4bc4c8bcfe696400a950a34263a750e (patch)
treed8355e0b1302b201114c9998570c0a4ee7a26fcc /include/asm-sh
parent180379dcefb39e8bd05d562b0685e9084dffcc0a (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>
Diffstat (limited to 'include/asm-sh')
0 files changed, 0 insertions, 0 deletions