]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9dec370bbccdf6964cf31d6905f1bb1124daacf7
treecb1539e902a3651be684f42cefcf89fa56da8f26
parenteef6968670a954eb7907aab7a081be9e5a5ce26a
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