net: Fix build with ARCH=um
authorDavid S. Miller <davem@davemloft.net>
Fri, 19 Sep 2008 19:44:54 +0000 (12:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Sep 2008 19:44:54 +0000 (12:44 -0700)
commit02a1416478b70cd49bd74827438c8ba797784728
treecb1539e902a3651be684f42cefcf89fa56da8f26
parent821c92f258bd9b01eb900992969803645b6ba9d6
net: Fix build with ARCH=um

If UM is going to claim that it supports DMA by setting
HAS_DMA, it should provide a dma_mapping_error() implementation.

Based upon a report by Julius Volz.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/asm-um/dma-mapping.h