From: tip-bot for Yinghai Lu <yinghai@kernel.org>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@redhat.com,
yinghai@kernel.org, tglx@linutronix.de
Subject: [tip:x86/mrst] x86, legacy_irq: Remove duplicate vector assigment
Date: Wed, 24 Feb 2010 08:09:58 GMT [thread overview]
Message-ID: <tip-8cdf5dcab80d5933b048118368caf75df21d2788@git.kernel.org> (raw)
In-Reply-To: <4B8493A0.6080501@kernel.org>
Commit-ID: 8cdf5dcab80d5933b048118368caf75df21d2788
Gitweb: http://git.kernel.org/tip/8cdf5dcab80d5933b048118368caf75df21d2788
Author: Yinghai Lu <yinghai@kernel.org>
AuthorDate: Tue, 23 Feb 2010 18:49:04 -0800
Committer: H. Peter Anvin <hpa@zytor.com>
CommitDate: Tue, 23 Feb 2010 23:23:29 -0800
x86, legacy_irq: Remove duplicate vector assigment
Remove duplicated cfg[i].vector assignment.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <4B8493A0.6080501@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
---
arch/x86/kernel/apic/io_apic.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c
index b9d08f0..b758d49 100644
--- a/arch/x86/kernel/apic/io_apic.c
+++ b/arch/x86/kernel/apic/io_apic.c
@@ -161,8 +161,6 @@ int __init arch_early_irq_init(void)
node= cpu_to_node(boot_cpu_id);
for (i = 0; i < count; i++) {
- if (i < legacy_pic->nr_legacy_irqs)
- cfg[i].vector = IRQ0_VECTOR + i;
desc = irq_to_desc(i);
desc->chip_data = &cfg[i];
zalloc_cpumask_var_node(&cfg[i].domain, GFP_NOWAIT, node);
next prev parent reply other threads:[~2010-02-24 8:10 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-13 1:40 [PATCH 5/9] x86/ioapic: improve handling of i8259a irq init Pan, Jacob jun
2010-02-20 1:28 ` [tip:x86/mrst] x86, ioapic: Improve handling of i8259A " tip-bot for Alek Du
2010-02-24 2:49 ` [PATCH] x86: fix compiling warning with legacy_pci_xxx Yinghai Lu
2010-02-24 4:17 ` [PATCH] x86: remove left over nr_legacy_irqs Yinghai Lu
2010-02-24 4:27 ` [PATCH -v2] " Yinghai Lu
2010-02-24 8:09 ` [tip:x86/mrst] x86, legacy_irq: Remove " tip-bot for Yinghai Lu
2010-02-24 19:04 ` tip-bot for Yinghai Lu
2010-02-24 20:39 ` [PATCH] x86/pci: exclude mrst pci code for other platform Yinghai Lu
2010-02-24 21:03 ` Pan, Jacob jun
2010-02-24 21:44 ` H. Peter Anvin
2010-02-24 22:10 ` Yinghai Lu
2010-02-24 22:31 ` H. Peter Anvin
2010-02-24 22:42 ` Yinghai Lu
2010-02-25 0:41 ` [PATCH] x86/mrst: add dependencies for Moorestown Pan, Jacob jun
2010-02-25 6:01 ` Yinghai Lu
2010-02-25 22:27 ` [tip:x86/mrst] x86, pci: Exclude Moorestown PCI code if CONFIG_X86_MRST=n tip-bot for Yinghai Lu
2010-02-24 8:09 ` tip-bot for Yinghai Lu [this message]
2010-02-24 19:04 ` [tip:x86/mrst] x86, legacy_irq: Remove duplicate vector assigment tip-bot for Yinghai Lu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tip-8cdf5dcab80d5933b048118368caf75df21d2788@git.kernel.org \
--to=yinghai@kernel.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.