Skip to content

Commit

Permalink
sh: remove consistent alloc stuff from the machine vector
Browse files Browse the repository at this point in the history
Now with the voyagergx cruft gone and the dreamcast using declared
coherent memory for pci there are no users of the consistent alloc and
free functions pointers in the machine vector.

So this little patch simply removes these function pointers from the macvec.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Jan 28, 2008
1 parent a724605 commit d4dca67
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/asm-sh/machvec.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ struct sh_machine_vector {

void (*mv_heartbeat)(void);

void *(*mv_consistent_alloc)(struct device *, size_t, dma_addr_t *, gfp_t);
int (*mv_consistent_free)(struct device *, size_t, void *, dma_addr_t);

void __iomem *(*mv_ioport_map)(unsigned long port, unsigned int size);
void (*mv_ioport_unmap)(void __iomem *);
};
Expand Down

0 comments on commit d4dca67

Please sign in to comment.