diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-11-05 04:12:27 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-12-16 08:08:16 -0500 |
commit | f0e5bf758348e7205a33de50c894e75f9bc89714 (patch) | |
tree | 1a5b051b2e7ea50b381b7c2d35e09e19de26097f | |
parent | 74afab7af7d9aeba86b3b8e39670cf7d0058f6df (diff) |
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>
-rw-r--r-- | arch/x86/include/asm/hw_irq.h | 3 | ||||
-rw-r--r-- | arch/x86/kernel/apic/vector.c | 2 |
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); | |||
144 | extern void setup_vector_irq(int cpu); | 144 | extern void setup_vector_irq(int cpu); |
145 | #ifdef CONFIG_SMP | 145 | #ifdef CONFIG_SMP |
146 | extern void send_cleanup_vector(struct irq_cfg *); | 146 | extern void send_cleanup_vector(struct irq_cfg *); |
147 | extern void irq_complete_move(struct irq_cfg *cfg); | ||
147 | #else | 148 | #else |
148 | static inline void send_cleanup_vector(struct irq_cfg *c) { } | 149 | static inline void send_cleanup_vector(struct irq_cfg *c) { } |
150 | static inline void irq_complete_move(struct irq_cfg *c) { } | ||
149 | #endif | 151 | #endif |
150 | extern void irq_complete_move(struct irq_cfg *cfg); | ||
151 | 152 | ||
152 | extern int apic_retrigger_irq(struct irq_data *data); | 153 | extern int apic_retrigger_irq(struct irq_data *data); |
153 | extern void apic_ack_edge(struct irq_data *data); | 154 | 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) | |||
452 | 452 | ||
453 | __irq_complete_move(cfg, cfg->vector); | 453 | __irq_complete_move(cfg, cfg->vector); |
454 | } | 454 | } |
455 | #else | ||
456 | void irq_complete_move(struct irq_cfg *cfg) { } | ||
457 | #endif | 455 | #endif |
458 | 456 | ||
459 | /* | 457 | /* |