From: Thomas Bogendoerfer Date: Sat, 29 Nov 2008 12:46:27 +0000 (+0100) Subject: x86: fix dma_mapping_error for 32bit x86 X-Git-Tag: v2.6.28-rc8~58^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b1dedca42ac0d0d0be01e39d8461bb53a2389b3;p=pandora-kernel.git 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 Acked-by: FUJITA Tomonori Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed