[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 8 Sep 2008 16:19:09 -0700
From: Steven Noonan <steven@...inklabs.net>
To: linux-kernel@...r.kernel.org
Cc: mingo@...te.hu, steven@...inklabs.net
Subject: [PATCH] x86: fix HPET compiler error when not using CONFIG_PCI_MSI
Added dummy function for hpet_setup_msi_irq().
Signed-off-by: Steven Noonan <steven@...inklabs.net>
---
arch/x86/kernel/hpet.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/x86/kernel/hpet.c b/arch/x86/kernel/hpet.c
index 01005ae..422c577 100644
--- a/arch/x86/kernel/hpet.c
+++ b/arch/x86/kernel/hpet.c
@@ -635,6 +635,10 @@ static int hpet_cpuhp_notify(struct notifier_block *n,
}
#else
+static int hpet_setup_msi_irq(unsigned int irq)
+{
+ return 0;
+}
void hpet_msi_capability_lookup(unsigned int start_timer)
{
return;
--
1.6.0.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists