Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22942
b: refs/heads/master
c: 2c27660
h: refs/heads/master
v: v3
  • Loading branch information
Michael Ellerman authored and Paul Mackerras committed Mar 17, 2006
1 parent e67858b commit 3b7fa0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9b15879aefe6a4c2236297df68c46498af26143d
refs/heads/master: 2c276603c3e5ebf38155a9d1fbbda656d52d138e
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/mm/lmb.c
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ unsigned long __init lmb_alloc_base(unsigned long size, unsigned long align,

alloc = __lmb_alloc_base(size, align, max_addr);

if (alloc < 0)
if (alloc == 0)
panic("ERROR: Failed to allocate 0x%lx bytes below 0x%lx.\n",
size, max_addr);

Expand Down

0 comments on commit 3b7fa0a

Please sign in to comment.