]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
sh: remove consistent alloc stuff from the machine vector
authorMagnus Damm <magnus.damm@gmail.com>
Thu, 24 Jan 2008 09:45:45 +0000 (18:45 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jan 2008 04:19:04 +0000 (13:19 +0900)
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>
include/asm-sh/machvec.h

index 088698bacf2f4947b6d1c60bf91bbddc8a26037e..ddb18ad23303ae8a4f26dafdf38da0e3dd83c8fc 100644 (file)
@@ -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 *);
 };