[SPARC64]: Fix OOPS in dma_sync_*_for_device()
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 20 Dec 2007 09:29:45 +0000 (01:29 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 20 Dec 2007 09:29:45 +0000 (01:29 -0800)
commit36bb61346d9e64b55285f27363e93a6e96f2abba
treee5ccef10ddcd24e65cab3fe8027fe1ce175dbc00
parentfbdcf18df73758b2e187ab94678b30cd5f6ff9f9
[SPARC64]: Fix OOPS in dma_sync_*_for_device()

I included these operations vector cases for situations
where we never need to do anything, the entries aren't
filled in by any implementation, so we OOPS trying to
invoke NULL pointer functions.

Really make them NOPs, to fix the bug.

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