git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/upstream-linus
[pandora-kernel.git]
/
arch
/
powerpc
/
platforms
/
cell
/
spu_manage.c
diff --git
a/arch/powerpc/platforms/cell/spu_manage.c
b/arch/powerpc/platforms/cell/spu_manage.c
index
f465d47
..
4e5c914
100644
(file)
--- a/
arch/powerpc/platforms/cell/spu_manage.c
+++ b/
arch/powerpc/platforms/cell/spu_manage.c
@@
-222,7
+222,7
@@
static int spu_map_resource(struct spu *spu, int nr,
return ret;
if (phys)
*phys = resource.start;
- len = resource
.end - resource.start + 1
;
+ len = resource
_size(&resource)
;
*virt = ioremap(resource.start, len);
if (!*virt)
return -EINVAL;