ia64/linux-2.6.18-xen.hg

view arch/mips/kernel/dma-no-isa.c @ 452:c7ed6fe5dca0

kexec: dont initialise regions in reserve_memory()

There is no need to initialise efi_memmap_res and boot_param_res in
reserve_memory() for the initial xen domain as it is done in
machine_kexec_setup_resources() using values from the kexec hypercall.

Signed-off-by: Simon Horman <horms@verge.net.au>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Feb 28 10:55:18 2008 +0000 (2008-02-28)
parents 831230e53067
children
line source
1 /*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
6 * Copyright (C) 2004 by Ralf Baechle
7 *
8 * Dummy ISA DMA functions for systems that don't have ISA but share drivers
9 * with ISA such as legacy free PCI.
10 */
11 #include <linux/errno.h>
12 #include <linux/module.h>
13 #include <linux/spinlock.h>
15 DEFINE_SPINLOCK(dma_spin_lock);
17 int request_dma(unsigned int dmanr, const char * device_id)
18 {
19 return -EINVAL;
20 }
22 void free_dma(unsigned int dmanr)
23 {
24 }
26 EXPORT_SYMBOL(dma_spin_lock);
27 EXPORT_SYMBOL(request_dma);
28 EXPORT_SYMBOL(free_dma);