Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 275542
b: refs/heads/master
c: 6d1e2c6
h: refs/heads/master
v: v3
  • Loading branch information
Anton Blanchard authored and Benjamin Herrenschmidt committed Nov 16, 2011
1 parent 9457854 commit 3bfcec3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: bbc24a25e29136a56cf5015ef23eb2c2e8828023
refs/heads/master: 6d1e2c6c1a0b800473db4df8595c95745be548ea
6 changes: 2 additions & 4 deletions trunk/arch/powerpc/kernel/prom_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1579,10 +1579,8 @@ static void __init prom_instantiate_rtas(void)
return;

base = alloc_down(size, PAGE_SIZE, 0);
if (base == 0) {
prom_printf("RTAS allocation failed !\n");
return;
}
if (base == 0)
prom_panic("Could not allocate memory for RTAS\n");

rtas_inst = call_prom("open", 1, 1, ADDR("/rtas"));
if (!IHANDLE_VALID(rtas_inst)) {
Expand Down

0 comments on commit 3bfcec3

Please sign in to comment.