Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346801
b: refs/heads/master
c: 0373743
h: refs/heads/master
i:
  346799: 4ea4ea0
v: v3
  • Loading branch information
JoonSoo Kim authored and Benjamin Herrenschmidt committed Nov 15, 2012
1 parent 30ef7b5 commit 8f0902c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 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: a53fd61ac2f411745471c1c877d5e072fbbf0e5c
refs/heads/master: 03737439d83f4214b98a391f5ef9709b8d15af02
8 changes: 3 additions & 5 deletions trunk/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include <linux/spinlock.h>
#include <linux/irq.h>
#include <linux/types.h>
#include <linux/bootmem.h>
#include <linux/slab.h>

#include <asm/io.h>
Expand Down Expand Up @@ -149,7 +148,7 @@ int __init pq2ads_pci_init_irq(void)
priv->regs = of_iomap(np, 0);
if (!priv->regs) {
printk(KERN_ERR "Cannot map PCI PIC registers.\n");
goto out_free_bootmem;
goto out_free_kmalloc;
}

/* mask all PCI interrupts */
Expand All @@ -171,9 +170,8 @@ int __init pq2ads_pci_init_irq(void)

out_unmap_regs:
iounmap(priv->regs);
out_free_bootmem:
free_bootmem((unsigned long)priv,
sizeof(struct pq2ads_pci_pic));
out_free_kmalloc:
kfree(priv);
of_node_put(np);
out_unmap_irq:
irq_dispose_mapping(irq);
Expand Down

0 comments on commit 8f0902c

Please sign in to comment.