mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-24 05:04:00 +08:00
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>
This commit is contained in:
parent
74afab7af7
commit
f0e5bf7583
@ -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);
|
||||
|
@ -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
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user