From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752678AbaLSOB5 (ORCPT ); Fri, 19 Dec 2014 09:01:57 -0500 Received: from terminus.zytor.com ([198.137.202.10]:45707 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752460AbaLSOBw (ORCPT ); Fri, 19 Dec 2014 09:01:52 -0500 Date: Fri, 19 Dec 2014 06:00:52 -0800 From: tip-bot for Jiang Liu Message-ID: Cc: tglx@linutronix.de, rdunlap@infradead.org, rjw@rjwysocki.net, mingo@kernel.org, yinghai@kernel.org, bp@alien8.de, tony.luck@intel.com, hpa@zytor.com, gregkh@linuxfoundation.org, joro@8bytes.org, konrad.wilk@oracle.com, bhelgaas@google.com, benh@kernel.crashing.org, linux-kernel@vger.kernel.org, jiang.liu@linux.intel.com Reply-To: bp@alien8.de, yinghai@kernel.org, hpa@zytor.com, gregkh@linuxfoundation.org, tony.luck@intel.com, tglx@linutronix.de, rdunlap@infradead.org, mingo@kernel.org, rjw@rjwysocki.net, linux-kernel@vger.kernel.org, benh@kernel.crashing.org, jiang.liu@linux.intel.com, joro@8bytes.org, bhelgaas@google.com, konrad.wilk@oracle.com In-Reply-To: <1414397531-28254-21-git-send-email-jiang.liu@linux.intel.com> References: <1414397531-28254-21-git-send-email-jiang.liu@linux.intel.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/apic] x86, irq: Provide empty send_cleanup_vector() stub for UP builds Git-Commit-ID: e32c67e0cbb3921bffe1cc306628c0074d2f43bc X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: e32c67e0cbb3921bffe1cc306628c0074d2f43bc Gitweb: http://git.kernel.org/tip/e32c67e0cbb3921bffe1cc306628c0074d2f43bc Author: Jiang Liu AuthorDate: Mon, 27 Oct 2014 16:12:11 +0800 Committer: Thomas Gleixner CommitDate: Tue, 16 Dec 2014 14:08:14 +0100 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 Cc: Konrad Rzeszutek Wilk Cc: Tony Luck Cc: Joerg Roedel Cc: Greg Kroah-Hartman Cc: Benjamin Herrenschmidt Cc: Rafael J. Wysocki Cc: Bjorn Helgaas Cc: Randy Dunlap Cc: Yinghai Lu Cc: Borislav Petkov Link: http://lkml.kernel.org/r/1414397531-28254-21-git-send-email-jiang.liu@linux.intel.com Signed-off-by: Thomas Gleixner --- arch/x86/include/asm/hw_irq.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/x86/include/asm/hw_irq.h b/arch/x86/include/asm/hw_irq.h index 4615906..fa5d1e7 100644 --- a/arch/x86/include/asm/hw_irq.h +++ b/arch/x86/include/asm/hw_irq.h @@ -153,7 +153,11 @@ struct irq_cfg { }; extern int assign_irq_vector(int, struct irq_cfg *, const struct cpumask *); +#ifdef CONFIG_SMP extern void send_cleanup_vector(struct irq_cfg *); +#else +static inline void send_cleanup_vector(struct irq_cfg *c) { } +#endif struct irq_data; int __ioapic_set_affinity(struct irq_data *, const struct cpumask *,