x86, irq: Move irq_remapped out of x86 core code
The irq_remapped function is only used in IOMMU code after the last patch. So move its definition there too. 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>
Šī revīzija ir iekļauta:
@@ -31,6 +31,11 @@ static int set_remapped_irq_affinity(struct irq_data *data,
|
||||
const struct cpumask *mask,
|
||||
bool force);
|
||||
|
||||
static bool irq_remapped(struct irq_cfg *cfg)
|
||||
{
|
||||
return (cfg->remapped == 1);
|
||||
}
|
||||
|
||||
static void irq_remapping_disable_io_apic(void)
|
||||
{
|
||||
/*
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user