From: Michael Ellerman Date: Wed, 3 Aug 2005 10:21:26 +0000 (+1000) Subject: [PATCH] ppc64: Simplify some lmb functions X-Git-Tag: v2.6.14-rc1~1037^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71e1f55ad4bc4c8bcfe696400a950a34263a750e;p=pandora-kernel.git [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 Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed