summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-11-05 12:12:27 +0300
committerThomas Gleixner <tglx@linutronix.de>2014-12-16 16:08:16 +0300
commitf0e5bf758348e7205a33de50c894e75f9bc89714 (patch)
tree1a5b051b2e7ea50b381b7c2d35e09e19de26097f /arch/x86
parent74afab7af7d9aeba86b3b8e39670cf7d0058f6df (diff)
downloadlinux-f0e5bf758348e7205a33de50c894e75f9bc89714.tar.xz
x86, irq: Make UP version of irq_complete_move() an inline stub
No point for having an empty real function. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/include/asm/hw_irq.h3
-rw-r--r--arch/x86/kernel/apic/vector.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/include/asm/hw_irq.h b/arch/x86/include/asm/hw_irq.h
index ef50db16bb44..a7235777a478 100644
--- a/arch/x86/include/asm/hw_irq.h
+++ b/arch/x86/include/asm/hw_irq.h
@@ -144,10 +144,11 @@ extern void clear_irq_vector(int irq, struct irq_cfg *cfg);
extern void setup_vector_irq(int cpu);
#ifdef CONFIG_SMP
extern void send_cleanup_vector(struct irq_cfg *);
+extern void irq_complete_move(struct irq_cfg *cfg);
#else
static inline void send_cleanup_vector(struct irq_cfg *c) { }
+static inline void irq_complete_move(struct irq_cfg *c) { }
#endif
-extern void irq_complete_move(struct irq_cfg *cfg);
extern int apic_retrigger_irq(struct irq_data *data);
extern void apic_ack_edge(struct irq_data *data);
diff --git a/arch/x86/kernel/apic/vector.c b/arch/x86/kernel/apic/vector.c
index 9ba9bd477051..fe326a3452fc 100644
--- a/arch/x86/kernel/apic/vector.c
+++ b/arch/x86/kernel/apic/vector.c
@@ -452,8 +452,6 @@ void irq_force_complete_move(int irq)
__irq_complete_move(cfg, cfg->vector);
}
-#else
-void irq_complete_move(struct irq_cfg *cfg) { }
#endif
/*