direct-io.hg

changeset 15088:eff2bcaeda64

[IA64] Remove unnecessary sparse tree files

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Alex Williamson <alex.williamson@hp.com>
date Thu May 03 14:10:19 2007 -0600 (2007-05-03)
parents 948c87ffc582
children a141484a91d0
files linux-2.6-xen-sparse/arch/ia64/dig/setup.c linux-2.6-xen-sparse/include/asm-ia64/fixmap.h linux-2.6-xen-sparse/include/asm-ia64/machvec.h
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/ia64/dig/setup.c	Thu May 03 14:08:24 2007 -0600
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,70 +0,0 @@
     1.4 -/*
     1.5 - * Platform dependent support for DIG64 platforms.
     1.6 - *
     1.7 - * Copyright (C) 1999 Intel Corp.
     1.8 - * Copyright (C) 1999, 2001 Hewlett-Packard Co
     1.9 - * Copyright (C) 1999, 2001, 2003 David Mosberger-Tang <davidm@hpl.hp.com>
    1.10 - * Copyright (C) 1999 VA Linux Systems
    1.11 - * Copyright (C) 1999 Walt Drummond <drummond@valinux.com>
    1.12 - * Copyright (C) 1999 Vijay Chander <vijay@engr.sgi.com>
    1.13 - */
    1.14 -
    1.15 -#include <linux/init.h>
    1.16 -#include <linux/delay.h>
    1.17 -#include <linux/kernel.h>
    1.18 -#include <linux/kdev_t.h>
    1.19 -#include <linux/string.h>
    1.20 -#include <linux/screen_info.h>
    1.21 -#include <linux/console.h>
    1.22 -#include <linux/timex.h>
    1.23 -#include <linux/sched.h>
    1.24 -#include <linux/root_dev.h>
    1.25 -
    1.26 -#include <asm/io.h>
    1.27 -#include <asm/machvec.h>
    1.28 -#include <asm/system.h>
    1.29 -
    1.30 -void __init
    1.31 -dig_setup (char **cmdline_p)
    1.32 -{
    1.33 -	unsigned int orig_x, orig_y, num_cols, num_rows, font_height;
    1.34 -
    1.35 -	/*
    1.36 -	 * Default to /dev/sda2.  This assumes that the EFI partition
    1.37 -	 * is physical disk 1 partition 1 and the Linux root disk is
    1.38 -	 * physical disk 1 partition 2.
    1.39 -	 */
    1.40 -	ROOT_DEV = Root_SDA2;		/* default to second partition on first drive */
    1.41 -
    1.42 -#ifdef CONFIG_SMP
    1.43 -	init_smp_config();
    1.44 -#endif
    1.45 -
    1.46 -	memset(&screen_info, 0, sizeof(screen_info));
    1.47 -
    1.48 -	if (!ia64_boot_param->console_info.num_rows
    1.49 -	    || !ia64_boot_param->console_info.num_cols)
    1.50 -	{
    1.51 -		printk(KERN_WARNING "dig_setup: warning: invalid screen-info, guessing 80x25\n");
    1.52 -		orig_x = 0;
    1.53 -		orig_y = 0;
    1.54 -		num_cols = 80;
    1.55 -		num_rows = 25;
    1.56 -		font_height = 16;
    1.57 -	} else {
    1.58 -		orig_x = ia64_boot_param->console_info.orig_x;
    1.59 -		orig_y = ia64_boot_param->console_info.orig_y;
    1.60 -		num_cols = ia64_boot_param->console_info.num_cols;
    1.61 -		num_rows = ia64_boot_param->console_info.num_rows;
    1.62 -		font_height = 400 / num_rows;
    1.63 -	}
    1.64 -
    1.65 -	screen_info.orig_x = orig_x;
    1.66 -	screen_info.orig_y = orig_y;
    1.67 -	screen_info.orig_video_cols  = num_cols;
    1.68 -	screen_info.orig_video_lines = num_rows;
    1.69 -	screen_info.orig_video_points = font_height;
    1.70 -	screen_info.orig_video_mode = 3;	/* XXX fake */
    1.71 -	screen_info.orig_video_isVGA = 1;	/* XXX fake */
    1.72 -	screen_info.orig_video_ega_bx = 3;	/* XXX fake */
    1.73 -}
     2.1 --- a/linux-2.6-xen-sparse/include/asm-ia64/fixmap.h	Thu May 03 14:08:24 2007 -0600
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,2 +0,0 @@
     2.4 -#define clear_fixmap(x)	do {} while (0)
     2.5 -#define	set_fixmap(x,y)	do {} while (0)
     3.1 --- a/linux-2.6-xen-sparse/include/asm-ia64/machvec.h	Thu May 03 14:08:24 2007 -0600
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,411 +0,0 @@
     3.4 -/*
     3.5 - * Machine vector for IA-64.
     3.6 - *
     3.7 - * Copyright (C) 1999 Silicon Graphics, Inc.
     3.8 - * Copyright (C) Srinivasa Thirumalachar <sprasad@engr.sgi.com>
     3.9 - * Copyright (C) Vijay Chander <vijay@engr.sgi.com>
    3.10 - * Copyright (C) 1999-2001, 2003-2004 Hewlett-Packard Co.
    3.11 - *	David Mosberger-Tang <davidm@hpl.hp.com>
    3.12 - */
    3.13 -#ifndef _ASM_IA64_MACHVEC_H
    3.14 -#define _ASM_IA64_MACHVEC_H
    3.15 -
    3.16 -#include <linux/types.h>
    3.17 -
    3.18 -/* forward declarations: */
    3.19 -struct device;
    3.20 -struct pt_regs;
    3.21 -struct scatterlist;
    3.22 -struct page;
    3.23 -struct mm_struct;
    3.24 -struct pci_bus;
    3.25 -struct task_struct;
    3.26 -
    3.27 -typedef void ia64_mv_setup_t (char **);
    3.28 -typedef void ia64_mv_cpu_init_t (void);
    3.29 -typedef void ia64_mv_irq_init_t (void);
    3.30 -typedef void ia64_mv_send_ipi_t (int, int, int, int);
    3.31 -typedef void ia64_mv_timer_interrupt_t (int, void *, struct pt_regs *);
    3.32 -typedef void ia64_mv_global_tlb_purge_t (struct mm_struct *, unsigned long, unsigned long, unsigned long);
    3.33 -typedef void ia64_mv_tlb_migrate_finish_t (struct mm_struct *);
    3.34 -typedef unsigned int ia64_mv_local_vector_to_irq (u8);
    3.35 -typedef char *ia64_mv_pci_get_legacy_mem_t (struct pci_bus *);
    3.36 -typedef int ia64_mv_pci_legacy_read_t (struct pci_bus *, u16 port, u32 *val,
    3.37 -				       u8 size);
    3.38 -typedef int ia64_mv_pci_legacy_write_t (struct pci_bus *, u16 port, u32 val,
    3.39 -					u8 size);
    3.40 -typedef void ia64_mv_migrate_t(struct task_struct * task);
    3.41 -
    3.42 -/* DMA-mapping interface: */
    3.43 -typedef void ia64_mv_dma_init (void);
    3.44 -typedef void *ia64_mv_dma_alloc_coherent (struct device *, size_t, dma_addr_t *, gfp_t);
    3.45 -typedef void ia64_mv_dma_free_coherent (struct device *, size_t, void *, dma_addr_t);
    3.46 -typedef dma_addr_t ia64_mv_dma_map_single (struct device *, void *, size_t, int);
    3.47 -typedef void ia64_mv_dma_unmap_single (struct device *, dma_addr_t, size_t, int);
    3.48 -typedef int ia64_mv_dma_map_sg (struct device *, struct scatterlist *, int, int);
    3.49 -typedef void ia64_mv_dma_unmap_sg (struct device *, struct scatterlist *, int, int);
    3.50 -typedef void ia64_mv_dma_sync_single_for_cpu (struct device *, dma_addr_t, size_t, int);
    3.51 -typedef void ia64_mv_dma_sync_sg_for_cpu (struct device *, struct scatterlist *, int, int);
    3.52 -typedef void ia64_mv_dma_sync_single_for_device (struct device *, dma_addr_t, size_t, int);
    3.53 -typedef void ia64_mv_dma_sync_sg_for_device (struct device *, struct scatterlist *, int, int);
    3.54 -typedef int ia64_mv_dma_mapping_error (dma_addr_t dma_addr);
    3.55 -typedef int ia64_mv_dma_supported (struct device *, u64);
    3.56 -
    3.57 -/*
    3.58 - * WARNING: The legacy I/O space is _architected_.  Platforms are
    3.59 - * expected to follow this architected model (see Section 10.7 in the
    3.60 - * IA-64 Architecture Software Developer's Manual).  Unfortunately,
    3.61 - * some broken machines do not follow that model, which is why we have
    3.62 - * to make the inX/outX operations part of the machine vector.
    3.63 - * Platform designers should follow the architected model whenever
    3.64 - * possible.
    3.65 - */
    3.66 -typedef unsigned int ia64_mv_inb_t (unsigned long);
    3.67 -typedef unsigned int ia64_mv_inw_t (unsigned long);
    3.68 -typedef unsigned int ia64_mv_inl_t (unsigned long);
    3.69 -typedef void ia64_mv_outb_t (unsigned char, unsigned long);
    3.70 -typedef void ia64_mv_outw_t (unsigned short, unsigned long);
    3.71 -typedef void ia64_mv_outl_t (unsigned int, unsigned long);
    3.72 -typedef void ia64_mv_mmiowb_t (void);
    3.73 -typedef unsigned char ia64_mv_readb_t (const volatile void __iomem *);
    3.74 -typedef unsigned short ia64_mv_readw_t (const volatile void __iomem *);
    3.75 -typedef unsigned int ia64_mv_readl_t (const volatile void __iomem *);
    3.76 -typedef unsigned long ia64_mv_readq_t (const volatile void __iomem *);
    3.77 -typedef unsigned char ia64_mv_readb_relaxed_t (const volatile void __iomem *);
    3.78 -typedef unsigned short ia64_mv_readw_relaxed_t (const volatile void __iomem *);
    3.79 -typedef unsigned int ia64_mv_readl_relaxed_t (const volatile void __iomem *);
    3.80 -typedef unsigned long ia64_mv_readq_relaxed_t (const volatile void __iomem *);
    3.81 -typedef int ia64_mv_msi_init_t (void);
    3.82 -
    3.83 -static inline void
    3.84 -machvec_noop (void)
    3.85 -{
    3.86 -}
    3.87 -
    3.88 -static inline void
    3.89 -machvec_noop_mm (struct mm_struct *mm)
    3.90 -{
    3.91 -}
    3.92 -
    3.93 -static inline void
    3.94 -machvec_noop_task (struct task_struct *task)
    3.95 -{
    3.96 -}
    3.97 -
    3.98 -extern void machvec_setup (char **);
    3.99 -extern void machvec_timer_interrupt (int, void *, struct pt_regs *);
   3.100 -extern void machvec_dma_sync_single (struct device *, dma_addr_t, size_t, int);
   3.101 -extern void machvec_dma_sync_sg (struct device *, struct scatterlist *, int, int);
   3.102 -extern void machvec_tlb_migrate_finish (struct mm_struct *);
   3.103 -
   3.104 -# if defined (CONFIG_IA64_HP_SIM)
   3.105 -#  include <asm/machvec_hpsim.h>
   3.106 -# elif defined (CONFIG_IA64_DIG)
   3.107 -#  include <asm/machvec_dig.h>
   3.108 -# elif defined (CONFIG_IA64_HP_ZX1)
   3.109 -#  include <asm/machvec_hpzx1.h>
   3.110 -# elif defined (CONFIG_IA64_HP_ZX1_SWIOTLB)
   3.111 -#  include <asm/machvec_hpzx1_swiotlb.h>
   3.112 -# elif defined (CONFIG_IA64_SGI_SN2)
   3.113 -#  include <asm/machvec_sn2.h>
   3.114 -# elif defined (CONFIG_IA64_GENERIC)
   3.115 -
   3.116 -# ifdef MACHVEC_PLATFORM_HEADER
   3.117 -#  include MACHVEC_PLATFORM_HEADER
   3.118 -# else
   3.119 -#  define platform_name		ia64_mv.name
   3.120 -#  define platform_setup	ia64_mv.setup
   3.121 -#  define platform_cpu_init	ia64_mv.cpu_init
   3.122 -#  define platform_irq_init	ia64_mv.irq_init
   3.123 -#  define platform_send_ipi	ia64_mv.send_ipi
   3.124 -#  define platform_timer_interrupt	ia64_mv.timer_interrupt
   3.125 -#  define platform_global_tlb_purge	ia64_mv.global_tlb_purge
   3.126 -#  define platform_tlb_migrate_finish	ia64_mv.tlb_migrate_finish
   3.127 -#  define platform_dma_init		ia64_mv.dma_init
   3.128 -#  define platform_dma_alloc_coherent	ia64_mv.dma_alloc_coherent
   3.129 -#  define platform_dma_free_coherent	ia64_mv.dma_free_coherent
   3.130 -#  define platform_dma_map_single	ia64_mv.dma_map_single
   3.131 -#  define platform_dma_unmap_single	ia64_mv.dma_unmap_single
   3.132 -#  define platform_dma_map_sg		ia64_mv.dma_map_sg
   3.133 -#  define platform_dma_unmap_sg		ia64_mv.dma_unmap_sg
   3.134 -#  define platform_dma_sync_single_for_cpu ia64_mv.dma_sync_single_for_cpu
   3.135 -#  define platform_dma_sync_sg_for_cpu	ia64_mv.dma_sync_sg_for_cpu
   3.136 -#  define platform_dma_sync_single_for_device ia64_mv.dma_sync_single_for_device
   3.137 -#  define platform_dma_sync_sg_for_device ia64_mv.dma_sync_sg_for_device
   3.138 -#  define platform_dma_mapping_error		ia64_mv.dma_mapping_error
   3.139 -#  define platform_dma_supported	ia64_mv.dma_supported
   3.140 -#  define platform_local_vector_to_irq	ia64_mv.local_vector_to_irq
   3.141 -#  define platform_pci_get_legacy_mem	ia64_mv.pci_get_legacy_mem
   3.142 -#  define platform_pci_legacy_read	ia64_mv.pci_legacy_read
   3.143 -#  define platform_pci_legacy_write	ia64_mv.pci_legacy_write
   3.144 -#  define platform_inb		ia64_mv.inb
   3.145 -#  define platform_inw		ia64_mv.inw
   3.146 -#  define platform_inl		ia64_mv.inl
   3.147 -#  define platform_outb		ia64_mv.outb
   3.148 -#  define platform_outw		ia64_mv.outw
   3.149 -#  define platform_outl		ia64_mv.outl
   3.150 -#  define platform_mmiowb	ia64_mv.mmiowb
   3.151 -#  define platform_readb        ia64_mv.readb
   3.152 -#  define platform_readw        ia64_mv.readw
   3.153 -#  define platform_readl        ia64_mv.readl
   3.154 -#  define platform_readq        ia64_mv.readq
   3.155 -#  define platform_readb_relaxed        ia64_mv.readb_relaxed
   3.156 -#  define platform_readw_relaxed        ia64_mv.readw_relaxed
   3.157 -#  define platform_readl_relaxed        ia64_mv.readl_relaxed
   3.158 -#  define platform_readq_relaxed        ia64_mv.readq_relaxed
   3.159 -#  define platform_migrate		ia64_mv.migrate
   3.160 -#  define platform_msi_init		ia64_mv.msi_init
   3.161 -# endif
   3.162 -
   3.163 -/* __attribute__((__aligned__(16))) is required to make size of the
   3.164 - * structure multiple of 16 bytes.
   3.165 - * This will fillup the holes created because of section 3.3.1 in
   3.166 - * Software Conventions guide.
   3.167 - */
   3.168 -struct ia64_machine_vector {
   3.169 -	const char *name;
   3.170 -	ia64_mv_setup_t *setup;
   3.171 -	ia64_mv_cpu_init_t *cpu_init;
   3.172 -	ia64_mv_irq_init_t *irq_init;
   3.173 -	ia64_mv_send_ipi_t *send_ipi;
   3.174 -	ia64_mv_timer_interrupt_t *timer_interrupt;
   3.175 -	ia64_mv_global_tlb_purge_t *global_tlb_purge;
   3.176 -	ia64_mv_tlb_migrate_finish_t *tlb_migrate_finish;
   3.177 -	ia64_mv_dma_init *dma_init;
   3.178 -	ia64_mv_dma_alloc_coherent *dma_alloc_coherent;
   3.179 -	ia64_mv_dma_free_coherent *dma_free_coherent;
   3.180 -	ia64_mv_dma_map_single *dma_map_single;
   3.181 -	ia64_mv_dma_unmap_single *dma_unmap_single;
   3.182 -	ia64_mv_dma_map_sg *dma_map_sg;
   3.183 -	ia64_mv_dma_unmap_sg *dma_unmap_sg;
   3.184 -	ia64_mv_dma_sync_single_for_cpu *dma_sync_single_for_cpu;
   3.185 -	ia64_mv_dma_sync_sg_for_cpu *dma_sync_sg_for_cpu;
   3.186 -	ia64_mv_dma_sync_single_for_device *dma_sync_single_for_device;
   3.187 -	ia64_mv_dma_sync_sg_for_device *dma_sync_sg_for_device;
   3.188 -	ia64_mv_dma_mapping_error *dma_mapping_error;
   3.189 -	ia64_mv_dma_supported *dma_supported;
   3.190 -	ia64_mv_local_vector_to_irq *local_vector_to_irq;
   3.191 -	ia64_mv_pci_get_legacy_mem_t *pci_get_legacy_mem;
   3.192 -	ia64_mv_pci_legacy_read_t *pci_legacy_read;
   3.193 -	ia64_mv_pci_legacy_write_t *pci_legacy_write;
   3.194 -	ia64_mv_inb_t *inb;
   3.195 -	ia64_mv_inw_t *inw;
   3.196 -	ia64_mv_inl_t *inl;
   3.197 -	ia64_mv_outb_t *outb;
   3.198 -	ia64_mv_outw_t *outw;
   3.199 -	ia64_mv_outl_t *outl;
   3.200 -	ia64_mv_mmiowb_t *mmiowb;
   3.201 -	ia64_mv_readb_t *readb;
   3.202 -	ia64_mv_readw_t *readw;
   3.203 -	ia64_mv_readl_t *readl;
   3.204 -	ia64_mv_readq_t *readq;
   3.205 -	ia64_mv_readb_relaxed_t *readb_relaxed;
   3.206 -	ia64_mv_readw_relaxed_t *readw_relaxed;
   3.207 -	ia64_mv_readl_relaxed_t *readl_relaxed;
   3.208 -	ia64_mv_readq_relaxed_t *readq_relaxed;
   3.209 -	ia64_mv_migrate_t *migrate;
   3.210 -	ia64_mv_msi_init_t *msi_init;
   3.211 -} __attribute__((__aligned__(16))); /* align attrib? see above comment */
   3.212 -
   3.213 -#define MACHVEC_INIT(name)			\
   3.214 -{						\
   3.215 -	#name,					\
   3.216 -	platform_setup,				\
   3.217 -	platform_cpu_init,			\
   3.218 -	platform_irq_init,			\
   3.219 -	platform_send_ipi,			\
   3.220 -	platform_timer_interrupt,		\
   3.221 -	platform_global_tlb_purge,		\
   3.222 -	platform_tlb_migrate_finish,		\
   3.223 -	platform_dma_init,			\
   3.224 -	platform_dma_alloc_coherent,		\
   3.225 -	platform_dma_free_coherent,		\
   3.226 -	platform_dma_map_single,		\
   3.227 -	platform_dma_unmap_single,		\
   3.228 -	platform_dma_map_sg,			\
   3.229 -	platform_dma_unmap_sg,			\
   3.230 -	platform_dma_sync_single_for_cpu,	\
   3.231 -	platform_dma_sync_sg_for_cpu,		\
   3.232 -	platform_dma_sync_single_for_device,	\
   3.233 -	platform_dma_sync_sg_for_device,	\
   3.234 -	platform_dma_mapping_error,			\
   3.235 -	platform_dma_supported,			\
   3.236 -	platform_local_vector_to_irq,		\
   3.237 -	platform_pci_get_legacy_mem,		\
   3.238 -	platform_pci_legacy_read,		\
   3.239 -	platform_pci_legacy_write,		\
   3.240 -	platform_inb,				\
   3.241 -	platform_inw,				\
   3.242 -	platform_inl,				\
   3.243 -	platform_outb,				\
   3.244 -	platform_outw,				\
   3.245 -	platform_outl,				\
   3.246 -	platform_mmiowb,			\
   3.247 -	platform_readb,				\
   3.248 -	platform_readw,				\
   3.249 -	platform_readl,				\
   3.250 -	platform_readq,				\
   3.251 -	platform_readb_relaxed,			\
   3.252 -	platform_readw_relaxed,			\
   3.253 -	platform_readl_relaxed,			\
   3.254 -	platform_readq_relaxed,			\
   3.255 -	platform_migrate,			\
   3.256 -	platform_msi_init,			\
   3.257 -}
   3.258 -
   3.259 -extern struct ia64_machine_vector ia64_mv;
   3.260 -extern void machvec_init (const char *name);
   3.261 -
   3.262 -# else
   3.263 -#  error Unknown configuration.  Update asm-ia64/machvec.h.
   3.264 -# endif /* CONFIG_IA64_GENERIC */
   3.265 -
   3.266 -/*
   3.267 - * Declare default routines which aren't declared anywhere else:
   3.268 - */
   3.269 -extern ia64_mv_dma_init			swiotlb_init;
   3.270 -extern ia64_mv_dma_alloc_coherent	swiotlb_alloc_coherent;
   3.271 -extern ia64_mv_dma_free_coherent	swiotlb_free_coherent;
   3.272 -extern ia64_mv_dma_map_single		swiotlb_map_single;
   3.273 -extern ia64_mv_dma_unmap_single		swiotlb_unmap_single;
   3.274 -extern ia64_mv_dma_map_sg		swiotlb_map_sg;
   3.275 -extern ia64_mv_dma_unmap_sg		swiotlb_unmap_sg;
   3.276 -extern ia64_mv_dma_sync_single_for_cpu	swiotlb_sync_single_for_cpu;
   3.277 -extern ia64_mv_dma_sync_sg_for_cpu	swiotlb_sync_sg_for_cpu;
   3.278 -extern ia64_mv_dma_sync_single_for_device swiotlb_sync_single_for_device;
   3.279 -extern ia64_mv_dma_sync_sg_for_device	swiotlb_sync_sg_for_device;
   3.280 -extern ia64_mv_dma_mapping_error	swiotlb_dma_mapping_error;
   3.281 -extern ia64_mv_dma_supported		swiotlb_dma_supported;
   3.282 -
   3.283 -/*
   3.284 - * Define default versions so we can extend machvec for new platforms without having
   3.285 - * to update the machvec files for all existing platforms.
   3.286 - */
   3.287 -#ifndef platform_setup
   3.288 -# define platform_setup			machvec_setup
   3.289 -#endif
   3.290 -#ifndef platform_cpu_init
   3.291 -# define platform_cpu_init		machvec_noop
   3.292 -#endif
   3.293 -#ifndef platform_irq_init
   3.294 -# define platform_irq_init		machvec_noop
   3.295 -#endif
   3.296 -
   3.297 -#ifndef platform_send_ipi
   3.298 -# define platform_send_ipi		ia64_send_ipi	/* default to architected version */
   3.299 -#endif
   3.300 -#ifndef platform_timer_interrupt
   3.301 -# define platform_timer_interrupt 	machvec_timer_interrupt
   3.302 -#endif
   3.303 -#ifndef platform_global_tlb_purge
   3.304 -# define platform_global_tlb_purge	ia64_global_tlb_purge /* default to architected version */
   3.305 -#endif
   3.306 -#ifndef platform_tlb_migrate_finish
   3.307 -# define platform_tlb_migrate_finish	machvec_noop_mm
   3.308 -#endif
   3.309 -#ifndef platform_dma_init
   3.310 -# define platform_dma_init		swiotlb_init
   3.311 -#endif
   3.312 -#ifndef platform_dma_alloc_coherent
   3.313 -# define platform_dma_alloc_coherent	swiotlb_alloc_coherent
   3.314 -#endif
   3.315 -#ifndef platform_dma_free_coherent
   3.316 -# define platform_dma_free_coherent	swiotlb_free_coherent
   3.317 -#endif
   3.318 -#ifndef platform_dma_map_single
   3.319 -# define platform_dma_map_single	swiotlb_map_single
   3.320 -#endif
   3.321 -#ifndef platform_dma_unmap_single
   3.322 -# define platform_dma_unmap_single	swiotlb_unmap_single
   3.323 -#endif
   3.324 -#ifndef platform_dma_map_sg
   3.325 -# define platform_dma_map_sg		swiotlb_map_sg
   3.326 -#endif
   3.327 -#ifndef platform_dma_unmap_sg
   3.328 -# define platform_dma_unmap_sg		swiotlb_unmap_sg
   3.329 -#endif
   3.330 -#ifndef platform_dma_sync_single_for_cpu
   3.331 -# define platform_dma_sync_single_for_cpu	swiotlb_sync_single_for_cpu
   3.332 -#endif
   3.333 -#ifndef platform_dma_sync_sg_for_cpu
   3.334 -# define platform_dma_sync_sg_for_cpu		swiotlb_sync_sg_for_cpu
   3.335 -#endif
   3.336 -#ifndef platform_dma_sync_single_for_device
   3.337 -# define platform_dma_sync_single_for_device	swiotlb_sync_single_for_device
   3.338 -#endif
   3.339 -#ifndef platform_dma_sync_sg_for_device
   3.340 -# define platform_dma_sync_sg_for_device	swiotlb_sync_sg_for_device
   3.341 -#endif
   3.342 -#ifndef platform_dma_mapping_error
   3.343 -# define platform_dma_mapping_error		swiotlb_dma_mapping_error
   3.344 -#endif
   3.345 -#ifndef platform_dma_supported
   3.346 -# define  platform_dma_supported	swiotlb_dma_supported
   3.347 -#endif
   3.348 -#ifndef platform_local_vector_to_irq
   3.349 -# define platform_local_vector_to_irq	__ia64_local_vector_to_irq
   3.350 -#endif
   3.351 -#ifndef platform_pci_get_legacy_mem
   3.352 -# define platform_pci_get_legacy_mem	ia64_pci_get_legacy_mem
   3.353 -#endif
   3.354 -#ifndef platform_pci_legacy_read
   3.355 -# define platform_pci_legacy_read	ia64_pci_legacy_read
   3.356 -extern int ia64_pci_legacy_read(struct pci_bus *bus, u16 port, u32 *val, u8 size);
   3.357 -#endif
   3.358 -#ifndef platform_pci_legacy_write
   3.359 -# define platform_pci_legacy_write	ia64_pci_legacy_write
   3.360 -extern int ia64_pci_legacy_write(struct pci_bus *bus, u16 port, u32 val, u8 size);
   3.361 -#endif
   3.362 -#ifndef platform_inb
   3.363 -# define platform_inb		__ia64_inb
   3.364 -#endif
   3.365 -#ifndef platform_inw
   3.366 -# define platform_inw		__ia64_inw
   3.367 -#endif
   3.368 -#ifndef platform_inl
   3.369 -# define platform_inl		__ia64_inl
   3.370 -#endif
   3.371 -#ifndef platform_outb
   3.372 -# define platform_outb		__ia64_outb
   3.373 -#endif
   3.374 -#ifndef platform_outw
   3.375 -# define platform_outw		__ia64_outw
   3.376 -#endif
   3.377 -#ifndef platform_outl
   3.378 -# define platform_outl		__ia64_outl
   3.379 -#endif
   3.380 -#ifndef platform_mmiowb
   3.381 -# define platform_mmiowb	__ia64_mmiowb
   3.382 -#endif
   3.383 -#ifndef platform_readb
   3.384 -# define platform_readb		__ia64_readb
   3.385 -#endif
   3.386 -#ifndef platform_readw
   3.387 -# define platform_readw		__ia64_readw
   3.388 -#endif
   3.389 -#ifndef platform_readl
   3.390 -# define platform_readl		__ia64_readl
   3.391 -#endif
   3.392 -#ifndef platform_readq
   3.393 -# define platform_readq		__ia64_readq
   3.394 -#endif
   3.395 -#ifndef platform_readb_relaxed
   3.396 -# define platform_readb_relaxed	__ia64_readb_relaxed
   3.397 -#endif
   3.398 -#ifndef platform_readw_relaxed
   3.399 -# define platform_readw_relaxed	__ia64_readw_relaxed
   3.400 -#endif
   3.401 -#ifndef platform_readl_relaxed
   3.402 -# define platform_readl_relaxed	__ia64_readl_relaxed
   3.403 -#endif
   3.404 -#ifndef platform_readq_relaxed
   3.405 -# define platform_readq_relaxed	__ia64_readq_relaxed
   3.406 -#endif
   3.407 -#ifndef platform_migrate
   3.408 -# define platform_migrate machvec_noop_task
   3.409 -#endif
   3.410 -#ifndef platform_msi_init
   3.411 -# define platform_msi_init	((ia64_mv_msi_init_t*)NULL)
   3.412 -#endif
   3.413 -
   3.414 -#endif /* _ASM_IA64_MACHVEC_H */