openrisc: provide dma_map_ops
authorJonas Bonn <jonas@southpole.se>
Sun, 15 Apr 2012 19:09:25 +0000 (21:09 +0200)
committerJonas Bonn <jonas@southpole.se>
Tue, 8 May 2012 09:43:51 +0000 (11:43 +0200)
commit7b903e6c021a5462e26ea7a8f014fa60b6782bdb
tree47bf29fa57bff2cd3940beeeace93e1da1d5cee6
parentb0e026f4dc118752382fa926431b4512a8042e09
openrisc: provide dma_map_ops

This switches OpenRISC over to fully using the generic dma-mapping
framework.  This was almost already the case as the architecture's
implementation was essentially a copy of the generic header.

This also brings this architecture in line with the recent changes
to dma_map_ops (adding attributes to ops->alloc).

Signed-off-by: Jonas Bonn <jonas@southpole.se>
arch/openrisc/include/asm/dma-mapping.h
arch/openrisc/kernel/dma.c