public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sh: remove consistent alloc stuff from the machine vector
@ 2008-01-24  9:45 Magnus Damm
  0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2008-01-24  9:45 UTC (permalink / raw)
  To: linux-sh

sh: remove consistent alloc stuff from the machine vector

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>
---

 include/asm-sh/machvec.h |    3 ---
 1 file changed, 3 deletions(-)

--- 0001/include/asm-sh/machvec.h
+++ work/include/asm-sh/machvec.h	2008-01-24 17:04:11.000000000 +0900
@@ -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 *);
 };

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-24  9:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-24  9:45 [PATCH] sh: remove consistent alloc stuff from the machine vector Magnus Damm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox