diff options
| author | FUJITA Tomonori <[email protected]> | 2009-06-17 16:28:10 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-06-18 13:03:58 -0700 |
| commit | c147d8ea3e2f6f953647f2347ae732fd99b32e73 (patch) | |
| tree | 235159755038adfb0309f71ffe835fbe550da001 /include/linux/debugobjects.h | |
| parent | 7bf99fb673f18408be1ebc958321ef4c3f6da9e2 (diff) | |
dma-mapping: add asm-generic/dma-mapping-common.h
We unified x86 and IA64's handling of multiple dma mapping operations
(struct dma_map_ops in linux/dma-mapping.h) so we can remove duplication
in their arch/include/asm/dma-mapping.h.
This patchset adds include/asm-generic/dma-mapping-common.h that provides
some generic dma mapping function definitions for the users of struct
dma_map_ops. This enables us to remove about 100 lines. This also
enables us to easily add CONFIG_DMA_API_DEBUG support, which only x86
supports for now. The 4th patch adds CONFIG_DMA_API_DEBUG support to IA64
by adding only 8 lines.
This patch:
This header file provides some mapping function definitions that the users
of struct dma_map_ops can use.
Signed-off-by: FUJITA Tomonori <[email protected]>
Acked-by: Joerg Roedel <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "Luck, Tony" <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Catalin Marinas <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions