diff options
author | Joerg Roedel <joro@8bytes.org> | 2012-09-26 10:44:41 (GMT) |
---|---|---|
committer | Joerg Roedel <joro@8bytes.org> | 2013-01-28 11:17:26 (GMT) |
commit | 6a9f5de27216801b4e38ccd8aa0168a5dd8eca9b (patch) | |
tree | e25d4117d6375d5789ee556cdceb8ed24dd2afcd /arch/x86/include/asm/irq_remapping.h | |
parent | a6a25dd3270944f3c4182ffcbe0f60482471e849 (diff) | |
download | linux-fsl-qoriq-6a9f5de27216801b4e38ccd8aa0168a5dd8eca9b.tar.xz |
x86, io_apic: Move irq_remapping_enabled checks out of check_timer()
Move these checks to IRQ remapping code by introducing the
panic_on_irq_remap() function.
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/include/asm/irq_remapping.h')
-rw-r--r-- | arch/x86/include/asm/irq_remapping.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/include/asm/irq_remapping.h b/arch/x86/include/asm/irq_remapping.h index f1afa04..fb99a73 100644 --- a/arch/x86/include/asm/irq_remapping.h +++ b/arch/x86/include/asm/irq_remapping.h @@ -45,6 +45,7 @@ extern void compose_remapped_msi_msg(struct pci_dev *pdev, unsigned int irq, unsigned int dest, struct msi_msg *msg, u8 hpet_id); extern int setup_hpet_msi_remapped(unsigned int irq, unsigned int id); +extern void panic_if_irq_remap(const char *msg); #else /* CONFIG_IRQ_REMAP */ @@ -75,6 +76,10 @@ static inline int setup_hpet_msi_remapped(unsigned int irq, unsigned int id) { return -ENODEV; } + +static inline void panic_if_irq_remap(const char *msg) +{ +} #endif /* CONFIG_IRQ_REMAP */ #endif /* __X86_IRQ_REMAPPING_H */ |