aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-03-25 14:40:39 -0400
committerThomas Gleixner <tglx@linutronix.de>2011-03-29 08:48:02 -0400
commite5ffece737378ddefb3412f76e8d2928915af3a1 (patch)
treef92e0c748da94159393e18f7395f3b4e06f6f9f1 /arch/ia64
parent8fac171f72efb2e62f34ffeca22820823e60cdb0 (diff)
ia64: sn: Drop unused function
Leftover from the irq chip conversion. Reported-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/sn/kernel/irq.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/ia64/sn/kernel/irq.c b/arch/ia64/sn/kernel/irq.c
index 15193df5604..79ef3d05d2e 100644
--- a/arch/ia64/sn/kernel/irq.c
+++ b/arch/ia64/sn/kernel/irq.c
@@ -23,11 +23,9 @@
23#include <asm/sn/sn_sal.h> 23#include <asm/sn/sn_sal.h>
24#include <asm/sn/sn_feature_sets.h> 24#include <asm/sn/sn_feature_sets.h>
25 25
26static void force_interrupt(int irq);
27static void register_intr_pda(struct sn_irq_info *sn_irq_info); 26static void register_intr_pda(struct sn_irq_info *sn_irq_info);
28static void unregister_intr_pda(struct sn_irq_info *sn_irq_info); 27static void unregister_intr_pda(struct sn_irq_info *sn_irq_info);
29 28
30int sn_force_interrupt_flag = 1;
31extern int sn_ioif_inited; 29extern int sn_ioif_inited;
32struct list_head **sn_irq_lh; 30struct list_head **sn_irq_lh;
33static DEFINE_SPINLOCK(sn_irq_info_lock); /* non-IRQ lock */ 31static DEFINE_SPINLOCK(sn_irq_info_lock); /* non-IRQ lock */
@@ -423,20 +421,6 @@ sn_call_force_intr_provider(struct sn_irq_info *sn_irq_info)
423 (*pci_provider->force_interrupt)(sn_irq_info); 421 (*pci_provider->force_interrupt)(sn_irq_info);
424} 422}
425 423
426static void force_interrupt(int irq)
427{
428 struct sn_irq_info *sn_irq_info;
429
430 if (!sn_ioif_inited)
431 return;
432
433 rcu_read_lock();
434 list_for_each_entry_rcu(sn_irq_info, sn_irq_lh[irq], list)
435 sn_call_force_intr_provider(sn_irq_info);
436
437 rcu_read_unlock();
438}
439
440/* 424/*
441 * Check for lost interrupts. If the PIC int_status reg. says that 425 * Check for lost interrupts. If the PIC int_status reg. says that
442 * an interrupt has been sent, but not handled, and the interrupt 426 * an interrupt has been sent, but not handled, and the interrupt