]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] powerpc: Make sure we don't create empty lmb regions
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 25 Jan 2006 08:31:26 +0000 (21:31 +1300)
committerPaul Mackerras <paulus@samba.org>
Tue, 7 Feb 2006 10:28:38 +0000 (21:28 +1100)
commit8c20fafa8548917fdbbd95588494498dd901b375
tree37cbfdc145261c0bb292320bbeaa75699942717b
parentfa93895329b87112cb1fd784db969e60b5b46af6
[PATCH] powerpc: Make sure we don't create empty lmb regions

To prevent problems later in boot, make sure we don't create zero-size lmb
regions.

I've checked all the callers, and at the moment no one should ever hit this.
All callers use a constant size, or they check the computed size before they
call us.

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