[tip:core/iommu] irq_remap: Fix compiler warning with CONFIG_IRQ_REMAP=y

From: tip-bot for Suresh Siddha
Date: Tue May 08 2012 - 06:01:55 EST

Commit-ID: 399988eea194a8453e283fdd2da968d1fd39a7cf
Gitweb: http://git.kernel.org/tip/399988eea194a8453e283fdd2da968d1fd39a7cf
Author: Suresh Siddha <suresh.b.siddha@xxxxxxxxx>
AuthorDate: Tue, 8 May 2012 00:08:52 -0700
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitDate: Tue, 8 May 2012 11:17:29 +0200

irq_remap: Fix compiler warning with CONFIG_IRQ_REMAP=y

Fix the below compiler warning:

arch/x86/include/asm/irq_remapping.h:72:19: warning: âstruct IO_APIC_route_entryâ declared inside parameter list [enabled by default]

Signed-off-by: Suresh Siddha <suresh.b.siddha@xxxxxxxxx>
Cc: joro@xxxxxxxxxx
Cc: iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx
Cc: Joerg Roedel <joerg.roedel@xxxxxxx>
Link: http://lkml.kernel.org/r/1336460934-23592-1-git-send-email-suresh.b.siddha@xxxxxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
arch/x86/include/asm/irq_remapping.h | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/arch/x86/include/asm/irq_remapping.h b/arch/x86/include/asm/irq_remapping.h
index dcb0c72..5fb9bbb 100644
--- a/arch/x86/include/asm/irq_remapping.h
+++ b/arch/x86/include/asm/irq_remapping.h
@@ -22,11 +22,9 @@
#ifndef __X86_IRQ_REMAPPING_H
#define __X86_IRQ_REMAPPING_H

+#include <asm/io_apic.h>

-struct IO_APIC_route_entry;
-struct io_apic_irq_attr;
-struct pci_dev;

extern int irq_remapping_enabled;

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/