]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sh/machvec.h
xen64: disable 32-bit syscall/sysenter if not supported.
[linux-2.6-omap-h63xx.git] / include / asm-sh / machvec.h
index 70389b72ffef9dce063f55f576aa01fa2c40bdee..b2e4124070aef289a724a90049bba93adfcffa64 100644 (file)
@@ -13,7 +13,6 @@
 #include <linux/types.h>
 #include <linux/time.h>
 #include <asm/machtypes.h>
-#include <asm/machvec_init.h>
 
 struct device;
 
@@ -57,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 *);
 };
@@ -68,4 +64,7 @@ extern struct sh_machine_vector sh_mv;
 
 #define get_system_type()      sh_mv.mv_name
 
+#define __initmv \
+       __used __section(.machvec.init)
+
 #endif /* _ASM_SH_MACHVEC_H */