ia64/linux-2.6.18-xen.hg

view include/asm-sh64/param.h @ 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 * include/asm-sh64/param.h
7 *
8 * Copyright (C) 2000, 2001 Paolo Alberelli
9 * Copyright (C) 2003 Paul Mundt
10 *
11 */
12 #ifndef __ASM_SH64_PARAM_H
13 #define __ASM_SH64_PARAM_H
16 #ifdef __KERNEL__
17 # ifdef CONFIG_SH_WDT
18 # define HZ 1000 /* Needed for high-res WOVF */
19 # else
20 # define HZ 100
21 # endif
22 # define USER_HZ 100 /* User interfaces are in "ticks" */
23 # define CLOCKS_PER_SEC (USER_HZ) /* frequency at which times() counts */
24 #endif
26 #ifndef HZ
27 #define HZ 100
28 #endif
30 #define EXEC_PAGESIZE 4096
32 #ifndef NGROUPS
33 #define NGROUPS 32
34 #endif
36 #ifndef NOGROUP
37 #define NOGROUP (-1)
38 #endif
40 #define MAXHOSTNAMELEN 64 /* max length of hostname */
42 #endif /* __ASM_SH64_PARAM_H */