diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2008-12-01 12:17:15 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-01 14:36:17 -0500 |
commit | 50cec5c51c18301ff60262fdbe920f4a907c9d81 (patch) | |
tree | cb913edb32faf80bf5bfaa9c69d3ca42141c5c15 /arch/x86/include/asm/olpc.h | |
parent | f6d2e6f57bba66272b28dd20c949b14ce39cb804 (diff) |
x86: fix dma_mapping_error for 32bit x86, cleanup
This removes ifdef CONFIG_X86_64 in dma_mapping_error():
1) Xen people plan to use swiotlb on X86_32 for Dom0 support. swiotlb
uses ops->mapping_error so X86_32 also needs to check
ops->mapping_error.
2) Removing #ifdef hack is almost always a good thing.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/olpc.h')
0 files changed, 0 insertions, 0 deletions