[PATCH] powerpc: Fix bug in bug fix for bug in lmb_alloc()
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 16 Mar 2006 03:47:20 +0000 (14:47 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 17 Mar 2006 02:28:24 +0000 (13:28 +1100)
commit2c276603c3e5ebf38155a9d1fbbda656d52d138e
tree8f382336491425b0efef4a00b77c81f89ce8cd46
parent9b15879aefe6a4c2236297df68c46498af26143d
[PATCH] powerpc: Fix bug in bug fix for bug in lmb_alloc()

My patch (d7a5b2ffa1352f0310630934a56aecbdfb617b72) to always panic if
lmb_alloc() fails is broken because it checks alloc < 0, but should be
checking alloc == 0.

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