Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 229310
b: refs/heads/master
c: 467d93a
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Juhl authored and Benjamin Herrenschmidt committed Nov 29, 2010
1 parent 36a3050 commit 5b54c33
Show file tree
Hide file tree
Showing 2 changed files with 2 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: cd34206e949b66d3c5fa3e4d2905aa4af29d1b85
refs/heads/master: 467d93a7ee64a5c8f675589d658ce3b8b502d288
3 changes: 1 addition & 2 deletions trunk/arch/powerpc/platforms/cell/spufs/lscsa_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@ static int spu_alloc_lscsa_std(struct spu_state *csa)
struct spu_lscsa *lscsa;
unsigned char *p;

lscsa = vmalloc(sizeof(struct spu_lscsa));
lscsa = vzalloc(sizeof(struct spu_lscsa));
if (!lscsa)
return -ENOMEM;
memset(lscsa, 0, sizeof(struct spu_lscsa));
csa->lscsa = lscsa;

/* Set LS pages reserved to allow for user-space mapping. */
Expand Down

0 comments on commit 5b54c33

Please sign in to comment.