Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 154395
b: refs/heads/master
c: 85355bb
h: refs/heads/master
i:
  154393: 3baf0dc
  154391: 267edb3
v: v3
  • Loading branch information
Kumar Gala authored and Benjamin Herrenschmidt committed Jun 26, 2009
1 parent e7a294b commit b7e439d
Show file tree
Hide file tree
Showing 2 changed files with 3 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: a2367194183d6ab6b05e5d7d9b40db6ba48afc06
refs/heads/master: 85355bb272db31a3f2dd99d547eef794805e1319
5 changes: 2 additions & 3 deletions trunk/arch/powerpc/sysdev/mpic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1053,11 +1053,10 @@ struct mpic * __init mpic_alloc(struct device_node *node,
int intvec_top;
u64 paddr = phys_addr;

mpic = alloc_bootmem(sizeof(struct mpic));
mpic = kzalloc(sizeof(struct mpic), GFP_KERNEL);
if (mpic == NULL)
return NULL;

memset(mpic, 0, sizeof(struct mpic));

mpic->name = name;

mpic->hc_irq = mpic_irq_chip;
Expand Down

0 comments on commit b7e439d

Please sign in to comment.