aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJiang Liu <jiang.liu@linux.intel.com>2014-10-27 04:12:11 -0400
committerThomas Gleixner <tglx@linutronix.de>2014-12-16 08:08:14 -0500
commite32c67e0cbb3921bffe1cc306628c0074d2f43bc (patch)
treec53bee7d8adb095d99fdd4fa6447b533ba107a00 /arch
parent6658c739431cfa1bdf15737774ed1cac432b5c35 (diff)
x86, irq: Provide empty send_cleanup_vector() stub for UP builds
Define an empty send_cleanup_vector() for UP kernel to fix link error of undefined reference, which is used by uv_irq and irq_remapping. [ tglx: Made it an inline stub and moved it ahead of the file split changes ] Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Cc: Tony Luck <tony.luck@intel.com> Cc: Joerg Roedel <joro@8bytes.org> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Rafael J. Wysocki <rjw@rjwysocki.net> Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: Randy Dunlap <rdunlap@infradead.org> Cc: Yinghai Lu <yinghai@kernel.org> Cc: Borislav Petkov <bp@alien8.de> Link: http://lkml.kernel.org/r/1414397531-28254-21-git-send-email-jiang.liu@linux.intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/include/asm/hw_irq.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/asm/hw_irq.h b/arch/x86/include/asm/hw_irq.h
index 4615906d83df..fa5d1e768ba3 100644
--- a/arch/x86/include/asm/hw_irq.h
+++ b/arch/x86/include/asm/hw_irq.h
@@ -153,7 +153,11 @@ struct irq_cfg {
153}; 153};
154 154
155extern int assign_irq_vector(int, struct irq_cfg *, const struct cpumask *); 155extern int assign_irq_vector(int, struct irq_cfg *, const struct cpumask *);
156#ifdef CONFIG_SMP
156extern void send_cleanup_vector(struct irq_cfg *); 157extern void send_cleanup_vector(struct irq_cfg *);
158#else
159static inline void send_cleanup_vector(struct irq_cfg *c) { }
160#endif
157 161
158struct irq_data; 162struct irq_data;
159int __ioapic_set_affinity(struct irq_data *, const struct cpumask *, 163int __ioapic_set_affinity(struct irq_data *, const struct cpumask *,