Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137509
b: refs/heads/master
c: 840eeeb
h: refs/heads/master
i:
  137507: cb13b47
v: v3
  • Loading branch information
Ben Dooks committed Mar 8, 2009
1 parent 5adc112 commit c12328b
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 2261e0e6e3991d4c5f33e9fedadfc465eedc05a7
refs/heads/master: 840eeeb880e03927588e0e971cb426441795ff14
6 changes: 4 additions & 2 deletions trunk/arch/arm/plat-s3c/pm-check.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ static void s3c_pm_run_res(struct resource *ptr, run_fn_t fn, u32 *arg)
if ((ptr->flags & IORESOURCE_MEM) &&
strcmp(ptr->name, "System RAM") == 0) {
S3C_PMDBG("Found system RAM at %08lx..%08lx\n",
ptr->start, ptr->end);
(unsigned long)ptr->start,
(unsigned long)ptr->end);
arg = (fn)(ptr, arg);
}

Expand All @@ -75,7 +76,8 @@ static u32 *s3c_pm_countram(struct resource *res, u32 *val)
size += CHECK_CHUNKSIZE-1;
size /= CHECK_CHUNKSIZE;

S3C_PMDBG("Area %08lx..%08lx, %d blocks\n", res->start, res->end, size);
S3C_PMDBG("Area %08lx..%08lx, %d blocks\n",
(unsigned long)res->start, (unsigned long)res->end, size);

*val += size * sizeof(u32);
return val;
Expand Down

0 comments on commit c12328b

Please sign in to comment.