Skip to content

Commit

Permalink
swiotlb: Remove duplicate swiotlb_force extern declarations
Browse files Browse the repository at this point in the history
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: tony.luck@intel.com
LKML-Reference: <1258199198-16657-4-git-send-email-fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
FUJITA Tomonori authored and Ingo Molnar committed Nov 15, 2009
1 parent 94a1556 commit 6959450
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions arch/ia64/include/asm/swiotlb.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
#include <linux/dma-mapping.h>
#include <linux/swiotlb.h>

extern int swiotlb_force;

#ifdef CONFIG_SWIOTLB
extern int swiotlb;
extern void pci_swiotlb_init(void);
Expand Down
4 changes: 0 additions & 4 deletions arch/x86/include/asm/swiotlb.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

#include <linux/swiotlb.h>

/* SWIOTLB interface */

extern int swiotlb_force;

#ifdef CONFIG_SWIOTLB
extern int swiotlb;
extern int pci_swiotlb_init(void);
Expand Down
2 changes: 2 additions & 0 deletions include/linux/swiotlb.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ struct device;
struct dma_attrs;
struct scatterlist;

extern int swiotlb_force;

/*
* Maximum allowable number of contiguous slabs to map,
* must be a power of 2. What is the appropriate value ?
Expand Down

0 comments on commit 6959450

Please sign in to comment.