Skip to content

Commit

Permalink
x86: fix HPET compiler error when not using CONFIG_PCI_MSI
Browse files Browse the repository at this point in the history
Added dummy function for hpet_setup_msi_irq().

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Steven Noonan authored and Ingo Molnar committed Oct 16, 2008
1 parent f0ed4e6 commit ba374c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/x86/kernel/hpet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ba374c9

Please sign in to comment.