Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279755
b: refs/heads/master
c: b82a3ec
h: refs/heads/master
i:
  279753: b7c33d5
  279751: 8e08cff
v: v3
  • Loading branch information
Thomas Meyer authored and Tony Luck committed Dec 9, 2011
1 parent 292ee41 commit 15590b1
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: ac0d1a48d8b18c4808ab73d990b83bb032f21c25
refs/heads/master: b82a3ecdc54465c792326522d804d2eebaae9a23
5 changes: 2 additions & 3 deletions trunk/arch/ia64/sn/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,11 @@ struct sn_irq_info *sn_retarget_vector(struct sn_irq_info *sn_irq_info,
* PROM does not support SAL_INTR_REDIRECT, or it failed.
* Revert to old method.
*/
new_irq_info = kmalloc(sizeof(struct sn_irq_info), GFP_ATOMIC);
new_irq_info = kmemdup(sn_irq_info, sizeof(struct sn_irq_info),
GFP_ATOMIC);
if (new_irq_info == NULL)
return NULL;

memcpy(new_irq_info, sn_irq_info, sizeof(struct sn_irq_info));

/* Free the old PROM new_irq_info structure */
sn_intr_free(local_nasid, local_widget, new_irq_info);
unregister_intr_pda(new_irq_info);
Expand Down

0 comments on commit 15590b1

Please sign in to comment.