All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: fix HPET compiler error when not using CONFIG_PCI_MSI
@ 2008-09-08 23:19 Steven Noonan
  2008-09-08 23:19 ` [PATCH] init/initramfs.c: unused function when compiling without CONFIG_BLK_DEV_RAM Steven Noonan
  2008-09-09  6:56 ` [PATCH] x86: fix HPET compiler error when not using CONFIG_PCI_MSI Ingo Molnar
  0 siblings, 2 replies; 9+ messages in thread
From: Steven Noonan @ 2008-09-08 23:19 UTC (permalink / raw)
  To: linux-kernel; +Cc: mingo, steven

Added dummy function for hpet_setup_msi_irq().

Signed-off-by: Steven Noonan <steven@uplinklabs.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


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-09-09  7:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-08 23:19 [PATCH] x86: fix HPET compiler error when not using CONFIG_PCI_MSI Steven Noonan
2008-09-08 23:19 ` [PATCH] init/initramfs.c: unused function when compiling without CONFIG_BLK_DEV_RAM Steven Noonan
2008-09-08 23:19   ` [PATCH] x86: unused variable in dma_alloc_coherent_gfp_flags() Steven Noonan
2008-09-09  6:57     ` Ingo Molnar
2008-09-09  7:04       ` FUJITA Tomonori
2008-09-09  7:13         ` Ingo Molnar
2008-09-09  6:51   ` [PATCH] init/initramfs.c: unused function when compiling without CONFIG_BLK_DEV_RAM Ingo Molnar
2008-09-09  6:56 ` [PATCH] x86: fix HPET compiler error when not using CONFIG_PCI_MSI Ingo Molnar
2008-09-09  0:13   ` Steven Noonan

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.