ia64/linux-2.6.18-xen.hg

view arch/s390/oprofile/init.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 * arch/s390/oprofile/init.c
3 *
4 * S390 Version
5 * Copyright (C) 2003 IBM Deutschland Entwicklung GmbH, IBM Corporation
6 * Author(s): Thomas Spatzier (tspat@de.ibm.com)
7 *
8 * @remark Copyright 2002 OProfile authors
9 */
11 #include <linux/oprofile.h>
12 #include <linux/init.h>
13 #include <linux/errno.h>
16 extern void s390_backtrace(struct pt_regs * const regs, unsigned int depth);
18 int __init oprofile_arch_init(struct oprofile_operations* ops)
19 {
20 ops->backtrace = s390_backtrace;
21 return -ENODEV;
22 }
24 void oprofile_arch_exit(void)
25 {
26 }