aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/irq.c
diff options
context:
space:
mode:
authorDimitri Sivanich <sivanich@sgi.com>2009-10-14 10:22:57 -0400
committerIngo Molnar <mingo@elte.hu>2009-10-14 12:27:11 -0400
commit4a4de9c7d7111ce4caf422b856756125d8304f9d (patch)
treea34097664f419eeb27f0ecc719b7c882f56afece /arch/x86/kernel/irq.c
parentd5991ff297ad2f7e2698eefcd8269df5ecec150f (diff)
x86: UV RTC: Rename generic_interrupt to x86_platform_ipi
Signed-off-by: Dimitri Sivanich <sivanich@sgi.com> LKML-Reference: <20091014142257.GE11048@sgi.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/irq.c')
-rw-r--r--arch/x86/kernel/irq.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c
index 391206199515..9375dce39f5f 100644
--- a/arch/x86/kernel/irq.c
+++ b/arch/x86/kernel/irq.c
@@ -18,7 +18,7 @@
18atomic_t irq_err_count; 18atomic_t irq_err_count;
19 19
20/* Function pointer for generic interrupt vector handling */ 20/* Function pointer for generic interrupt vector handling */
21void (*generic_interrupt_extension)(void) = NULL; 21void (*x86_platform_ipi_callback)(void) = NULL;
22 22
23/* 23/*
24 * 'what should we do if we get a hw irq event on an illegal vector'. 24 * 'what should we do if we get a hw irq event on an illegal vector'.
@@ -72,10 +72,10 @@ static int show_other_interrupts(struct seq_file *p, int prec)
72 seq_printf(p, "%10u ", irq_stats(j)->apic_pending_irqs); 72 seq_printf(p, "%10u ", irq_stats(j)->apic_pending_irqs);
73 seq_printf(p, " Performance pending work\n"); 73 seq_printf(p, " Performance pending work\n");
74#endif 74#endif
75 if (generic_interrupt_extension) { 75 if (x86_platform_ipi_callback) {
76 seq_printf(p, "%*s: ", prec, "PLT"); 76 seq_printf(p, "%*s: ", prec, "PLT");
77 for_each_online_cpu(j) 77 for_each_online_cpu(j)
78 seq_printf(p, "%10u ", irq_stats(j)->generic_irqs); 78 seq_printf(p, "%10u ", irq_stats(j)->x86_platform_ipis);
79 seq_printf(p, " Platform interrupts\n"); 79 seq_printf(p, " Platform interrupts\n");
80 } 80 }
81#ifdef CONFIG_SMP 81#ifdef CONFIG_SMP
@@ -187,8 +187,8 @@ u64 arch_irq_stat_cpu(unsigned int cpu)
187 sum += irq_stats(cpu)->apic_perf_irqs; 187 sum += irq_stats(cpu)->apic_perf_irqs;
188 sum += irq_stats(cpu)->apic_pending_irqs; 188 sum += irq_stats(cpu)->apic_pending_irqs;
189#endif 189#endif
190 if (generic_interrupt_extension) 190 if (x86_platform_ipi_callback)
191 sum += irq_stats(cpu)->generic_irqs; 191 sum += irq_stats(cpu)->x86_platform_ipis;
192#ifdef CONFIG_SMP 192#ifdef CONFIG_SMP
193 sum += irq_stats(cpu)->irq_resched_count; 193 sum += irq_stats(cpu)->irq_resched_count;
194 sum += irq_stats(cpu)->irq_call_count; 194 sum += irq_stats(cpu)->irq_call_count;
@@ -252,9 +252,9 @@ unsigned int __irq_entry do_IRQ(struct pt_regs *regs)
252} 252}
253 253
254/* 254/*
255 * Handler for GENERIC_INTERRUPT_VECTOR. 255 * Handler for X86_PLATFORM_IPI_VECTOR.
256 */ 256 */
257void smp_generic_interrupt(struct pt_regs *regs) 257void smp_x86_platform_ipi(struct pt_regs *regs)
258{ 258{
259 struct pt_regs *old_regs = set_irq_regs(regs); 259 struct pt_regs *old_regs = set_irq_regs(regs);
260 260
@@ -264,10 +264,10 @@ void smp_generic_interrupt(struct pt_regs *regs)
264 264
265 irq_enter(); 265 irq_enter();
266 266
267 inc_irq_stat(generic_irqs); 267 inc_irq_stat(x86_platform_ipis);
268 268
269 if (generic_interrupt_extension) 269 if (x86_platform_ipi_callback)
270 generic_interrupt_extension(); 270 x86_platform_ipi_callback();
271 271
272 run_local_timers(); 272 run_local_timers();
273 irq_exit(); 273 irq_exit();