diff options
author | Glauber Costa <gcosta@redhat.com> | 2008-03-25 17:36:34 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-19 13:19:56 -0400 |
commit | 802c1f6648aeb3eea670b4ef8b10014169b65699 (patch) | |
tree | 7bcb1c348086b01a4ecb4f01b3a910d9c9e2a101 /include/asm-x86/dma-mapping_64.h | |
parent | 3cb6a91711a682adb3aa95da2ed8d47512cc3c41 (diff) |
x86: move dma_supported and dma_set_mask to pci-dma_32.c
This is the way x86_64 does, so this make them equal. They have
to be extern now in the header, and the extern definition is moved to
the common dma-mapping.h header.
Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/dma-mapping_64.h')
-rw-r--r-- | include/asm-x86/dma-mapping_64.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/asm-x86/dma-mapping_64.h b/include/asm-x86/dma-mapping_64.h index b1bc6ca7613d..9674dac9fa3a 100644 --- a/include/asm-x86/dma-mapping_64.h +++ b/include/asm-x86/dma-mapping_64.h | |||
@@ -12,8 +12,6 @@ static inline int dma_mapping_error(dma_addr_t dma_addr) | |||
12 | return (dma_addr == bad_dma_address); | 12 | return (dma_addr == bad_dma_address); |
13 | } | 13 | } |
14 | 14 | ||
15 | extern int dma_supported(struct device *hwdev, u64 mask); | ||
16 | |||
17 | /* same for gart, swiotlb, and nommu */ | 15 | /* same for gart, swiotlb, and nommu */ |
18 | static inline int dma_get_cache_alignment(void) | 16 | static inline int dma_get_cache_alignment(void) |
19 | { | 17 | { |
@@ -22,8 +20,6 @@ static inline int dma_get_cache_alignment(void) | |||
22 | 20 | ||
23 | #define dma_is_consistent(d, h) 1 | 21 | #define dma_is_consistent(d, h) 1 |
24 | 22 | ||
25 | extern int dma_set_mask(struct device *dev, u64 mask); | ||
26 | |||
27 | extern struct device fallback_dev; | 23 | extern struct device fallback_dev; |
28 | extern int panic_on_overflow; | 24 | extern int panic_on_overflow; |
29 | 25 | ||