ia64/linux-2.6.18-xen.hg

view include/asm-v850/posix_types.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 * include/asm-v850/posix_types.h -- Kernel versions of standard types
3 *
4 * Copyright (C) 2001,02,03 NEC Electronics Corporation
5 * Copyright (C) 2001,02,03 Miles Bader <miles@gnu.org>
6 *
7 * This file is subject to the terms and conditions of the GNU General
8 * Public License. See the file COPYING in the main directory of this
9 * archive for more details.
10 *
11 * Written by Miles Bader <miles@gnu.org>
12 */
14 #ifndef __V850_POSIX_TYPES_H__
15 #define __V850_POSIX_TYPES_H__
17 typedef unsigned long __kernel_ino_t;
18 typedef unsigned long long __kernel_ino64_t;
19 typedef unsigned int __kernel_mode_t;
20 typedef unsigned int __kernel_nlink_t;
21 typedef long __kernel_off_t;
22 typedef long long __kernel_loff_t;
23 typedef int __kernel_pid_t;
24 typedef unsigned short __kernel_ipc_pid_t;
25 typedef unsigned int __kernel_uid_t;
26 typedef unsigned int __kernel_gid_t;
27 typedef unsigned int __kernel_size_t;
28 typedef int __kernel_ssize_t;
29 typedef int __kernel_ptrdiff_t;
30 typedef long __kernel_time_t;
31 typedef long __kernel_suseconds_t;
32 typedef long __kernel_clock_t;
33 typedef int __kernel_timer_t;
34 typedef int __kernel_clockid_t;
35 typedef int __kernel_daddr_t;
36 typedef char * __kernel_caddr_t;
37 typedef unsigned short __kernel_uid16_t;
38 typedef unsigned short __kernel_gid16_t;
39 typedef unsigned int __kernel_uid32_t;
40 typedef unsigned int __kernel_gid32_t;
42 /* Some bogus code depends on this; we don't care. */
43 typedef __kernel_uid_t __kernel_old_uid_t;
44 typedef unsigned int __kernel_old_dev_t;
46 typedef struct {
47 #if defined(__KERNEL__) || defined(__USE_ALL)
48 int val[2];
49 #else /* !defined(__KERNEL__) && !defined(__USE_ALL) */
50 int __val[2];
51 #endif /* !defined(__KERNEL__) && !defined(__USE_ALL) */
52 } __kernel_fsid_t;
55 #if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
57 /* We used to include <asm/bitops.h> here, which seems the right thing, but
58 it caused nasty include-file definition order problems. Removing the
59 include seems to work, so fingers crossed... */
61 #undef __FD_SET
62 #define __FD_SET(fd, fd_set) \
63 __set_bit (fd, (void *)&((__kernel_fd_set *)fd_set)->fds_bits)
64 #undef __FD_CLR
65 #define __FD_CLR(fd, fd_set) \
66 __clear_bit (fd, (void *)&((__kernel_fd_set *)fd_set)->fds_bits)
67 #undef __FD_ISSET
68 #define __FD_ISSET(fd, fd_set) \
69 __test_bit (fd, (void *)&((__kernel_fd_set *)fd_set)->fds_bits)
70 #undef __FD_ZERO
71 #define __FD_ZERO(fd_set) \
72 memset (fd_set, 0, sizeof (*(fd_set *)fd_set))
74 #endif /* defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2) */
76 #endif /* __V850_POSIX_TYPES_H__ */