Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350193
b: refs/heads/master
c: 078e1ee
h: refs/heads/master
i:
  350191: 44b4c4b
v: v3
  • Loading branch information
Joerg Roedel committed Jan 28, 2013
1 parent 8207bb2 commit 34cd895
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1d254428c0ba30a0fbb8112d875ba64f4e60db25
refs/heads/master: 078e1ee26a061663bd7a4773c06b33cdb997380d
4 changes: 0 additions & 4 deletions trunk/arch/x86/include/asm/irq_remapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@

#ifdef CONFIG_IRQ_REMAP

extern int irq_remapping_enabled;

extern void setup_irq_remapping_ops(void);
extern int irq_remapping_supported(void);
extern int irq_remapping_prepare(void);
Expand All @@ -49,8 +47,6 @@ extern void panic_if_irq_remap(const char *msg);

#else /* CONFIG_IRQ_REMAP */

#define irq_remapping_enabled 0

static inline void setup_irq_remapping_ops(void) { }
static inline int irq_remapping_supported(void) { return 0; }
static inline int irq_remapping_prepare(void) { return -ENODEV; }
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/iommu/dmar.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
#include <asm/irq_remapping.h>
#include <asm/iommu_table.h>

#include "irq_remapping.h"

/* No locks are needed as DMA remapping hardware unit
* list is constructed at boot time and hotplug of
* these units are not supported by the architecture.
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/iommu/intel-iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
#include <asm/cacheflush.h>
#include <asm/iommu.h>

#include "irq_remapping.h"

#define ROOT_SIZE VTD_PAGE_SIZE
#define CONTEXT_SIZE VTD_PAGE_SIZE

Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/iommu/irq_remapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ struct msi_msg;
extern int disable_irq_remap;
extern int disable_sourceid_checking;
extern int no_x2apic_optout;
extern int irq_remapping_enabled;

struct irq_remap_ops {
/* Check whether Interrupt Remapping is supported */
Expand Down

0 comments on commit 34cd895

Please sign in to comment.