diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-03-25 14:40:39 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-03-29 08:48:02 -0400 |
commit | e5ffece737378ddefb3412f76e8d2928915af3a1 (patch) | |
tree | f92e0c748da94159393e18f7395f3b4e06f6f9f1 /arch | |
parent | 8fac171f72efb2e62f34ffeca22820823e60cdb0 (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')
-rw-r--r-- | arch/ia64/sn/kernel/irq.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/ia64/sn/kernel/irq.c b/arch/ia64/sn/kernel/irq.c index 15193df56040..79ef3d05d2e4 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 | ||
26 | static void force_interrupt(int irq); | ||
27 | static void register_intr_pda(struct sn_irq_info *sn_irq_info); | 26 | static void register_intr_pda(struct sn_irq_info *sn_irq_info); |
28 | static void unregister_intr_pda(struct sn_irq_info *sn_irq_info); | 27 | static void unregister_intr_pda(struct sn_irq_info *sn_irq_info); |
29 | 28 | ||
30 | int sn_force_interrupt_flag = 1; | ||
31 | extern int sn_ioif_inited; | 29 | extern int sn_ioif_inited; |
32 | struct list_head **sn_irq_lh; | 30 | struct list_head **sn_irq_lh; |
33 | static DEFINE_SPINLOCK(sn_irq_info_lock); /* non-IRQ lock */ | 31 | static 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 | ||
426 | static 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 |