]> err.no Git - linux-2.6/commit
[POWERPC] Fix mem= handling when the memory limit is > RMO size
authorMichael Ellerman <michael@ellerman.id.au>
Tue, 4 Jul 2006 07:13:23 +0000 (17:13 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 25 Jul 2006 15:28:24 +0000 (01:28 +1000)
commit30f30e13055d1e018c70d2b1b3ff86f8c25c511b
treecf452ba456760b40b0e3418a363b6e5b40eba6a6
parent98c82472e98469ef23d7c680a0d6be1429540166
[POWERPC] Fix mem= handling when the memory limit is > RMO size

There's a bug in my cleaned up mem= handling, if the memory limit is
larger than the RMO size we'll erroneously enlarge the RMO size.

Fix is to only change the RMO size if the memory limit is less than
the current RMO value.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/lmb.c