]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/include/asm/dma-mapping.h
x86: document 64-bit and 32-bit function call convention ABI
[linux-2.6-omap-h63xx.git] / arch / x86 / include / asm / dma-mapping.h
index 097794ff6b796a2f955ddc7a8eef96a249c8b94f..4035357f5b9d6b830a16b09f39d30e90810aae9e 100644 (file)
@@ -65,18 +65,16 @@ static inline struct dma_mapping_ops *get_dma_ops(struct device *dev)
                return dma_ops;
        else
                return dev->archdata.dma_ops;
-#endif /* _ASM_X86_DMA_MAPPING_H */
+#endif
 }
 
 /* Make sure we keep the same behaviour */
 static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr)
 {
-#ifdef CONFIG_X86_64
        struct dma_mapping_ops *ops = get_dma_ops(dev);
        if (ops->mapping_error)
                return ops->mapping_error(dev, dma_addr);
 
-#endif
        return (dma_addr == bad_dma_address);
 }