]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] PS3: Fix memory hotplug
authorGeoff Levand <geoffrey.levand@am.sony.com>
Thu, 15 May 2008 20:09:59 +0000 (06:09 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 23 May 2008 06:15:29 +0000 (16:15 +1000)
commit6413ef58564af06ed3826f0f575baf14be0f217c
tree670e8da2717cbaab86911715c8430f91f16b5211
parent7285b2cf4ba2afee112c6b04e7942c276096ed6b
[POWERPC] PS3: Fix memory hotplug

A change was made to walk_memory_resource() in commit
4191dc6cdccbb677a464445c08c1dec5d7a08558 that added a
check of find_lmb().  Add the coresponding lmb_add()
call to ps3_mm_add_memory() so that that check will
succeed.

This fixes the condition where the PS3 boots up with
only the 128 MiB of boot memory, and doesn't see the
other 128MiB that is available.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/ps3/mm.c