aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2008-05-19 09:13:28 -0400
committerTony Luck <tony.luck@intel.com>2008-05-27 17:37:53 -0400
commit444933c6c6e82362ba8e0da26f41a53c433d11ef (patch)
treed3b0ebc3f0e5ae85fe3aea7dbb3eddbbee130b91
parent4dcc29e1574d88f4465ba865ed82800032f76418 (diff)
[IA64] pvops: preparation: remove extern in irq_ia64.c
remove extern declaration of handle_IPI() in irq_ia64.c. Instead, declare it in asm-ia64/smp.h. Later handle_IPI() will be referenced from another file. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Tony Luck <tony.luck@intel.com>
-rw-r--r--arch/ia64/kernel/irq_ia64.c1
-rw-r--r--include/asm-ia64/smp.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/ia64/kernel/irq_ia64.c b/arch/ia64/kernel/irq_ia64.c
index 5538471e8d68..c48171bc7969 100644
--- a/arch/ia64/kernel/irq_ia64.c
+++ b/arch/ia64/kernel/irq_ia64.c
@@ -600,7 +600,6 @@ static irqreturn_t dummy_handler (int irq, void *dev_id)
600{ 600{
601 BUG(); 601 BUG();
602} 602}
603extern irqreturn_t handle_IPI (int irq, void *dev_id);
604 603
605static struct irqaction ipi_irqaction = { 604static struct irqaction ipi_irqaction = {
606 .handler = handle_IPI, 605 .handler = handle_IPI,
diff --git a/include/asm-ia64/smp.h b/include/asm-ia64/smp.h
index ec5f355fb7e3..2984e262fc6c 100644
--- a/include/asm-ia64/smp.h
+++ b/include/asm-ia64/smp.h
@@ -15,6 +15,7 @@
15#include <linux/kernel.h> 15#include <linux/kernel.h>
16#include <linux/cpumask.h> 16#include <linux/cpumask.h>
17#include <linux/bitops.h> 17#include <linux/bitops.h>
18#include <linux/irqreturn.h>
18 19
19#include <asm/io.h> 20#include <asm/io.h>
20#include <asm/param.h> 21#include <asm/param.h>
@@ -123,6 +124,7 @@ extern void __init smp_build_cpu_map(void);
123extern void __init init_smp_config (void); 124extern void __init init_smp_config (void);
124extern void smp_do_timer (struct pt_regs *regs); 125extern void smp_do_timer (struct pt_regs *regs);
125 126
127extern irqreturn_t handle_IPI(int irq, void *dev_id);
126extern void smp_send_reschedule (int cpu); 128extern void smp_send_reschedule (int cpu);
127extern void lock_ipi_calllock(void); 129extern void lock_ipi_calllock(void);
128extern void unlock_ipi_calllock(void); 130extern void unlock_ipi_calllock(void);