Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123361
b: refs/heads/master
c: c2e27c3
h: refs/heads/master
i:
  123359: 786d32c
v: v3
  • Loading branch information
Nicolas Palix authored and David S. Miller committed Dec 4, 2008
1 parent b7bac30 commit 9a5a8ea
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a8c601ca21e790f6a9d996bb0bf31f7496eb9509
refs/heads/master: c2e27c359ab76fecbbd292dbfc0bcfa8399afdd9
2 changes: 2 additions & 0 deletions trunk/arch/sparc/kernel/sun4c_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ static void __init sun4c_init_timers(irq_handler_t counter_fn)
sun4c_timers = (void __iomem *) (unsigned long) addr[0];

irq = of_get_property(dp, "intr", NULL);
of_node_put(dp);
if (!irq) {
prom_printf("sun4c_init_timers: No intr property\n");
prom_halt();
Expand Down Expand Up @@ -200,6 +201,7 @@ void __init sun4c_init_IRQ(void)
}

addr = of_get_property(dp, "address", NULL);
of_node_put(dp);
if (!addr) {
prom_printf("sun4c_init_IRQ: No address property\n");
prom_halt();
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/sparc/kernel/sun4d_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ static void __init sun4d_init_timers(irq_handler_t counter_fn)
* bootbus.
*/
reg = of_get_property(dp, "reg", NULL);
of_node_put(dp);
if (!reg) {
prom_printf("sun4d_init_timers: No reg property\n");
prom_halt();
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/sparc/kernel/sun4m_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ static void __init sun4m_init_timers(irq_handler_t counter_fn)
}

addr = of_get_property(dp, "address", &len);
of_node_put(dp);
if (!addr) {
printk(KERN_ERR "sun4m_init_timers: No 'address' prop.\n");
return;
Expand Down Expand Up @@ -437,6 +438,7 @@ void __init sun4m_init_IRQ(void)
}

addr = of_get_property(dp, "address", &len);
of_node_put(dp);
if (!addr) {
printk(KERN_ERR "sun4m_init_IRQ: No 'address' prop.\n");
return;
Expand Down

0 comments on commit 9a5a8ea

Please sign in to comment.