Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 46828
b: refs/heads/master
c: 43d8043
h: refs/heads/master
v: v3
  • Loading branch information
Benjamin Herrenschmidt authored and Paul Mackerras committed Feb 7, 2007
1 parent 9d55d80 commit a10226d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 6c7be7d385f4911895877e0f0697c598f600136f
refs/heads/master: 43d80439c5f619446e174abdbdaff4fc0e539546
6 changes: 3 additions & 3 deletions trunk/drivers/ps3/system-bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ int ps3_mmio_region_create(struct ps3_mmio_region *r)
if (result) {
pr_debug("%s:%d: lv1_map_device_mmio_region failed: %s\n",
__func__, __LINE__, ps3_result(result));
r->lpar_addr = r->len = r->bus_addr = 0;
r->lpar_addr = 0;
}

dump_mmio_region(r);
Expand All @@ -62,13 +62,13 @@ int ps3_free_mmio_region(struct ps3_mmio_region *r)
int result;

result = lv1_unmap_device_mmio_region(r->did.bus_id, r->did.dev_id,
r->bus_addr);
r->lpar_addr);

if (result)
pr_debug("%s:%d: lv1_unmap_device_mmio_region failed: %s\n",
__func__, __LINE__, ps3_result(result));

r->lpar_addr = r->len = r->bus_addr = 0;
r->lpar_addr = 0;
return result;
}

Expand Down

0 comments on commit a10226d

Please sign in to comment.