aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/sun4d_irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/kernel/sun4d_irq.c')
-rw-r--r--arch/sparc/kernel/sun4d_irq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sparc/kernel/sun4d_irq.c b/arch/sparc/kernel/sun4d_irq.c
index d3cb76ce418b..3369fef5b4b3 100644
--- a/arch/sparc/kernel/sun4d_irq.c
+++ b/arch/sparc/kernel/sun4d_irq.c
@@ -40,6 +40,7 @@
40#include <asm/cacheflush.h> 40#include <asm/cacheflush.h>
41#include <asm/irq_regs.h> 41#include <asm/irq_regs.h>
42 42
43#include "kernel.h"
43#include "irq.h" 44#include "irq.h"
44 45
45/* If you trust current SCSI layer to handle different SCSI IRQs, enable this. I don't trust it... -jj */ 46/* If you trust current SCSI layer to handle different SCSI IRQs, enable this. I don't trust it... -jj */
@@ -58,7 +59,6 @@ static struct sun4d_timer_regs __iomem *sun4d_timers;
58#define TIMER_IRQ 10 59#define TIMER_IRQ 10
59 60
60#define MAX_STATIC_ALLOC 4 61#define MAX_STATIC_ALLOC 4
61extern struct irqaction static_irqaction[MAX_STATIC_ALLOC];
62extern int static_irq_count; 62extern int static_irq_count;
63static unsigned char sbus_tid[32]; 63static unsigned char sbus_tid[32];
64 64
@@ -508,6 +508,7 @@ static void __init sun4d_init_timers(irq_handler_t counter_fn)
508 * bootbus. 508 * bootbus.
509 */ 509 */
510 reg = of_get_property(dp, "reg", NULL); 510 reg = of_get_property(dp, "reg", NULL);
511 of_node_put(dp);
511 if (!reg) { 512 if (!reg) {
512 prom_printf("sun4d_init_timers: No reg property\n"); 513 prom_printf("sun4d_init_timers: No reg property\n");
513 prom_halt(); 514 prom_halt();