Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56281
b: refs/heads/master
c: dab4d79
h: refs/heads/master
i:
  56279: 8f899a2
v: v3
  • Loading branch information
Scott Wood authored and Paul Mackerras committed May 12, 2007
1 parent af4ea41 commit 2a03a4d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: 36bd2836f39d9c256689475432dd7d36eda1c491
refs/heads/master: dab4d7984ee61c8eb25569b12e7a996f5aaef2ba
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/boot/cuboot-83xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ void platform_init(unsigned long r3, unsigned long r4, unsigned long r5,

memcpy(&bd, (bd_t *)r3, sizeof(bd));
loader_info.initrd_addr = r4;
loader_info.initrd_size = r4 ? r5 : 0;
loader_info.initrd_size = r4 ? r5 - r4 : 0;
loader_info.cmdline = (char *)r6;
loader_info.cmdline_len = r7 - r6;

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/powerpc/boot/cuboot-85xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void platform_init(unsigned long r3, unsigned long r4, unsigned long r5,

memcpy(&bd, (bd_t *)r3, sizeof(bd));
loader_info.initrd_addr = r4;
loader_info.initrd_size = r4 ? r5 : 0;
loader_info.initrd_size = r4 ? r5 - r4 : 0;
loader_info.cmdline = (char *)r6;
loader_info.cmdline_len = r7 - r6;

Expand Down

0 comments on commit 2a03a4d

Please sign in to comment.