diff options
author | Joerg Roedel <joro@8bytes.org> | 2012-09-26 12:44:37 +0200 |
---|---|---|
committer | Joerg Roedel <joro@8bytes.org> | 2013-01-28 10:48:30 +0100 |
commit | 71054d8841b442bb3d8be60bde2bfac0483c19da (patch) | |
tree | 0a5ba9b3ee50448bb94691b3622870c09c5e7f64 /arch/x86/kernel/hpet.c | |
parent | afcc8a40a090f7a65d3b72bac1a26fc6dbb63b10 (diff) | |
download | op-kernel-dev-71054d8841b442bb3d8be60bde2bfac0483c19da.zip op-kernel-dev-71054d8841b442bb3d8be60bde2bfac0483c19da.tar.gz |
x86, hpet: Introduce x86_msi_ops.setup_hpet_msi
This function pointer can be overwritten by the IRQ
remapping code. The irq_remapping_enabled check can be
removed from default_setup_hpet_msi.
Signed-off-by: Joerg Roedel <joro@8bytes.org>
Acked-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/x86/kernel/hpet.c')
-rw-r--r-- | arch/x86/kernel/hpet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/hpet.c b/arch/x86/kernel/hpet.c index e28670f..da85a8e 100644 --- a/arch/x86/kernel/hpet.c +++ b/arch/x86/kernel/hpet.c @@ -478,7 +478,7 @@ static int hpet_msi_next_event(unsigned long delta, static int hpet_setup_msi_irq(unsigned int irq) { - if (arch_setup_hpet_msi(irq, hpet_blockid)) { + if (x86_msi.setup_hpet_msi(irq, hpet_blockid)) { destroy_irq(irq); return -EINVAL; } |