ia64/linux-2.6.18-xen.hg

view include/asm-m32r/shmbuf.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 #ifndef _ASM_M32R_SHMBUF_H
2 #define _ASM_M32R_SHMBUF_H
4 /* $Id$ */
6 /* orig : i386 2.4.18 */
8 /*
9 * The shmid64_ds structure for M32R architecture.
10 * Note extra padding because this structure is passed back and forth
11 * between kernel and user space.
12 *
13 * Pad space is left for:
14 * - 64-bit time_t to solve y2038 problem
15 * - 2 miscellaneous 32-bit values
16 */
18 struct shmid64_ds {
19 struct ipc64_perm shm_perm; /* operation perms */
20 size_t shm_segsz; /* size of segment (bytes) */
21 __kernel_time_t shm_atime; /* last attach time */
22 unsigned long __unused1;
23 __kernel_time_t shm_dtime; /* last detach time */
24 unsigned long __unused2;
25 __kernel_time_t shm_ctime; /* last change time */
26 unsigned long __unused3;
27 __kernel_pid_t shm_cpid; /* pid of creator */
28 __kernel_pid_t shm_lpid; /* pid of last operator */
29 unsigned long shm_nattch; /* no. of current attaches */
30 unsigned long __unused4;
31 unsigned long __unused5;
32 };
34 struct shminfo64 {
35 unsigned long shmmax;
36 unsigned long shmmin;
37 unsigned long shmmni;
38 unsigned long shmseg;
39 unsigned long shmall;
40 unsigned long __unused1;
41 unsigned long __unused2;
42 unsigned long __unused3;
43 unsigned long __unused4;
44 };
46 #endif /* _ASM_M32R_SHMBUF_H */