diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-22 03:06:21 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-22 03:06:21 -0400 |
commit | 76c3bb15d6786a0b8da0ad0090e0c9c3672fc08b (patch) | |
tree | 3824e008db9d554229a70c85fbbc13238276bd7a /arch/sparc/kernel/sun4d_irq.c | |
parent | 7be42004065ce4df193aeef5befd26805267d0d9 (diff) | |
parent | 93ded9b8fd42abe2c3607097963d8de6ad9117eb (diff) |
Merge branch 'linus' into x86/x2apic
Diffstat (limited to 'arch/sparc/kernel/sun4d_irq.c')
-rw-r--r-- | arch/sparc/kernel/sun4d_irq.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/sparc/kernel/sun4d_irq.c b/arch/sparc/kernel/sun4d_irq.c index 8ac5661cafff..1290b5998f83 100644 --- a/arch/sparc/kernel/sun4d_irq.c +++ b/arch/sparc/kernel/sun4d_irq.c | |||
@@ -52,13 +52,13 @@ extern struct irqaction static_irqaction[MAX_STATIC_ALLOC]; | |||
52 | extern int static_irq_count; | 52 | extern int static_irq_count; |
53 | unsigned char cpu_leds[32]; | 53 | unsigned char cpu_leds[32]; |
54 | #ifdef CONFIG_SMP | 54 | #ifdef CONFIG_SMP |
55 | unsigned char sbus_tid[32]; | 55 | static unsigned char sbus_tid[32]; |
56 | #endif | 56 | #endif |
57 | 57 | ||
58 | static struct irqaction *irq_action[NR_IRQS]; | 58 | static struct irqaction *irq_action[NR_IRQS]; |
59 | extern spinlock_t irq_action_lock; | 59 | extern spinlock_t irq_action_lock; |
60 | 60 | ||
61 | struct sbus_action { | 61 | static struct sbus_action { |
62 | struct irqaction *action; | 62 | struct irqaction *action; |
63 | /* For SMP this needs to be extended */ | 63 | /* For SMP this needs to be extended */ |
64 | } *sbus_actions; | 64 | } *sbus_actions; |
@@ -267,7 +267,8 @@ unsigned int sun4d_build_irq(struct sbus_dev *sdev, int irq) | |||
267 | return irq; | 267 | return irq; |
268 | } | 268 | } |
269 | 269 | ||
270 | unsigned int sun4d_sbint_to_irq(struct sbus_dev *sdev, unsigned int sbint) | 270 | static unsigned int sun4d_sbint_to_irq(struct sbus_dev *sdev, |
271 | unsigned int sbint) | ||
271 | { | 272 | { |
272 | if (sbint >= sizeof(sbus_to_pil)) { | 273 | if (sbint >= sizeof(sbus_to_pil)) { |
273 | printk(KERN_ERR "%s: bogus SBINT %d\n", sdev->prom_name, sbint); | 274 | printk(KERN_ERR "%s: bogus SBINT %d\n", sdev->prom_name, sbint); |