From: Yinghai Lu <yinghai@kernel.org>
To: Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>,
"H. Peter Anvin" <hpa@zytor.com>,
Andrew Morton <akpm@linux-foundation.org>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: [PATCH] sparseirq: fix !SMP building #2
Date: Fri, 12 Dec 2008 13:14:18 -0800 [thread overview]
Message-ID: <4942D42A.9060303@kernel.org> (raw)
In-Reply-To: <20081212113514.GI32640@elte.hu>
Impact: fix compiling
make intr_remapping.c to include smp.h, so could use boot_cpu_id there
also remove old change that disabling sparseirq with !SMP
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
---
arch/x86/Kconfig | 2 +-
drivers/pci/intr_remapping.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
Index: linux-2.6/drivers/pci/intr_remapping.c
===================================================================
--- linux-2.6.orig/drivers/pci/intr_remapping.c
+++ linux-2.6/drivers/pci/intr_remapping.c
@@ -5,6 +5,7 @@
#include <linux/pci.h>
#include <linux/irq.h>
#include <asm/io_apic.h>
+#include <asm/smp.h>
#include <linux/intel-iommu.h>
#include "intr_remapping.h"
Index: linux-2.6/arch/x86/Kconfig
===================================================================
--- linux-2.6.orig/arch/x86/Kconfig
+++ linux-2.6/arch/x86/Kconfig
@@ -245,7 +245,7 @@ config X86_HAS_BOOT_CPU_ID
config SPARSE_IRQ
bool "Support sparse irq numbering"
- depends on (PCI_MSI || HT_IRQ) && SMP
+ depends on PCI_MSI || HT_IRQ
default y
help
This enables support for sparse irq, esp for msi/msi-x. You may need
prev parent reply other threads:[~2008-12-12 21:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <86802c440812050120i6f5557dfo9c05bb43272ec807@mail.gmail.com>
[not found] ` <20081205103002.GA5325@elte.hu>
[not found] ` <49397CD0.9030301@kernel.org>
[not found] ` <20081208142307.GE14856@elte.hu>
[not found] ` <20081208150129.GA21496@elte.hu>
2008-12-08 22:06 ` [PATCH] x86: fix compiling with alpha Yinghai Lu
2008-12-09 3:17 ` Ingo Molnar
[not found] ` <20081208174506.GA30398@elte.hu>
[not found] ` <20081209031351.GA9092@elte.hu>
[not found] ` <493EBECB.4020106@kernel.org>
[not found] ` <20081209192622.GA8595@elte.hu>
[not found] ` <493ECD64.5060508@kernel.org>
[not found] ` <20081209200317.GA16787@elte.hu>
[not found] ` <493EDA86.8030702@kernel.org>
[not found] ` <20081212113514.GI32640@elte.hu>
2008-12-12 21:14 ` Yinghai Lu [this message]
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=4942D42A.9060303@kernel.org \
--to=yinghai@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox