Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752659AbbFGRkS (ORCPT ); Sun, 7 Jun 2015 13:40:18 -0400 Received: from terminus.zytor.com ([198.137.202.10]:57274 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752484AbbFGRkK (ORCPT ); Sun, 7 Jun 2015 13:40:10 -0400 Date: Sun, 7 Jun 2015 10:37:52 -0700 From: tip-bot for Aravind Gopalakrishnan Message-ID: Cc: x86@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, bp@suse.de, tony.luck@intel.com, hpa@zytor.com, Aravind.Gopalakrishnan@amd.com, mingo@kernel.org Reply-To: Aravind.Gopalakrishnan@amd.com, hpa@zytor.com, mingo@kernel.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, x86@kernel.org, tony.luck@intel.com, bp@suse.de In-Reply-To: <1430913538-1415-6-git-send-email-Aravind.Gopalakrishnan@amd.com> References: <1430913538-1415-6-git-send-email-Aravind.Gopalakrishnan@amd.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/core] x86/irq: Cleanup ordering of vector numbers Git-Commit-ID: 5c0d728e1a8ccbaf68ec37181e466627ba0a6efc 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 Content-Length: 1878 Lines: 54 Commit-ID: 5c0d728e1a8ccbaf68ec37181e466627ba0a6efc Gitweb: http://git.kernel.org/tip/5c0d728e1a8ccbaf68ec37181e466627ba0a6efc Author: Aravind Gopalakrishnan AuthorDate: Wed, 6 May 2015 06:58:57 -0500 Committer: Borislav Petkov CommitDate: Thu, 7 May 2015 10:28:43 +0200 x86/irq: Cleanup ordering of vector numbers Sort vector number assignments in proper descending order. No functional change. Signed-off-by: Aravind Gopalakrishnan Cc: Tony Luck Cc: x86-ml Link: http://lkml.kernel.org/r/1430913538-1415-6-git-send-email-Aravind.Gopalakrishnan@amd.com Signed-off-by: Borislav Petkov --- arch/x86/include/asm/irq_vectors.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/x86/include/asm/irq_vectors.h b/arch/x86/include/asm/irq_vectors.h index 026fc1e..8900ba4 100644 --- a/arch/x86/include/asm/irq_vectors.h +++ b/arch/x86/include/asm/irq_vectors.h @@ -102,11 +102,6 @@ */ #define X86_PLATFORM_IPI_VECTOR 0xf7 -/* Vector for KVM to deliver posted interrupt IPI */ -#ifdef CONFIG_HAVE_KVM -#define POSTED_INTR_VECTOR 0xf2 -#endif - /* * IRQ work vector: */ @@ -118,6 +113,11 @@ /* Vector on which hypervisor callbacks will be delivered */ #define HYPERVISOR_CALLBACK_VECTOR 0xf3 +/* Vector for KVM to deliver posted interrupt IPI */ +#ifdef CONFIG_HAVE_KVM +#define POSTED_INTR_VECTOR 0xf2 +#endif + /* * Local APIC timer IRQ vector is on a different priority level, * to work around the 'lost local interrupt if more than 2 IRQ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/