From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752252AbbJKTNJ (ORCPT ); Sun, 11 Oct 2015 15:13:09 -0400 Received: from terminus.zytor.com ([198.137.202.10]:60575 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751073AbbJKTNG (ORCPT ); Sun, 11 Oct 2015 15:13:06 -0400 Date: Sun, 11 Oct 2015 12:12:56 -0700 From: tip-bot for Andy Shevchenko Message-ID: Cc: hpa@zytor.com, mingo@kernel.org, linux-kernel@vger.kernel.org, jiang.liu@linux.intel.com, andriy.shevchenko@linux.intel.com, tglx@linutronix.de Reply-To: hpa@zytor.com, linux-kernel@vger.kernel.org, mingo@kernel.org, tglx@linutronix.de, andriy.shevchenko@linux.intel.com, jiang.liu@linux.intel.com In-Reply-To: <1444400685-98611-1-git-send-email-andriy.shevchenko@linux.intel.com> References: <1444400685-98611-1-git-send-email-andriy.shevchenko@linux.intel.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/apic] x86/io_apic: Make eoi_ioapic_pin() static Git-Commit-ID: 4faefda97bc1be6ca909ba0fd0927ea78f37f67e 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: 4faefda97bc1be6ca909ba0fd0927ea78f37f67e Gitweb: http://git.kernel.org/tip/4faefda97bc1be6ca909ba0fd0927ea78f37f67e Author: Andy Shevchenko AuthorDate: Fri, 9 Oct 2015 17:24:45 +0300 Committer: Thomas Gleixner CommitDate: Sun, 11 Oct 2015 21:10:31 +0200 x86/io_apic: Make eoi_ioapic_pin() static We have to define internally used function as static, otherwise the following warning will be generated: arch/x86/kernel/apic/io_apic.c:532:6: warning: no previous prototype for 'eoi_ioapic_pin' [-Wmissing-prototypes] Signed-off-by: Andy Shevchenko Reviewed-by: Jiang Liu Link: http://lkml.kernel.org/r/1444400685-98611-1-git-send-email-andriy.shevchenko@linux.intel.com Signed-off-by: Thomas Gleixner --- arch/x86/kernel/apic/io_apic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index 5c60bb1..b5a0e3c 100644 --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel/apic/io_apic.c @@ -529,7 +529,7 @@ static void __eoi_ioapic_pin(int apic, int pin, int vector) } } -void eoi_ioapic_pin(int vector, struct mp_chip_data *data) +static void eoi_ioapic_pin(int vector, struct mp_chip_data *data) { unsigned long flags; struct irq_pin_list *entry;