commit | 7b1dedca42ac0d0d0be01e39d8461bb53a2389b3 | [log] [tgz] |
---|---|---|
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | Sat Nov 29 13:46:27 2008 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Sat Nov 29 21:00:38 2008 +0100 |
tree | 2a2d2d37002a7614ceff8065fb362c4a820f5a1c | |
parent | b627c8b17ccacba38c975bc0f69a49fc4e5261c9 [diff] |
x86: fix dma_mapping_error for 32bit x86 Devices like b44 ethernet can't dma from addresses above 1GB. The driver handles this cases by falling back to GFP_DMA allocation. But for detecting the problem it needs to get an indication from dma_mapping_error. The bug is triggered by using a VMSPLIT option of 2G/2G. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Ingo Molnar <mingo@elte.hu>