mirror of
https://github.com/torvalds/linux.git
synced 2026-07-22 05:22:41 +02:00
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> |
||
|---|---|---|
| .. | ||
| boot | ||
| configs | ||
| kernel | ||
| lib | ||
| mm | ||
| oprofile | ||
| xmon | ||
| defconfig | ||
| Kconfig | ||
| Kconfig.debug | ||
| Makefile | ||