ia64/linux-2.6.18-xen.hg

view include/asm-h8300/string.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 _H8300_STRING_H_
2 #define _H8300_STRING_H_
4 #ifdef __KERNEL__ /* only set these up for kernel code */
6 #include <asm/setup.h>
7 #include <asm/page.h>
9 #define __HAVE_ARCH_MEMSET
10 extern void * memset(void * s, int c, size_t count);
12 #define __HAVE_ARCH_MEMCPY
13 extern void * memcpy(void *d, const void *s, size_t count);
15 #else /* KERNEL */
17 /*
18 * let user libraries deal with these,
19 * IMHO the kernel has no place defining these functions for user apps
20 */
22 #define __HAVE_ARCH_STRCPY 1
23 #define __HAVE_ARCH_STRNCPY 1
24 #define __HAVE_ARCH_STRCAT 1
25 #define __HAVE_ARCH_STRNCAT 1
26 #define __HAVE_ARCH_STRCMP 1
27 #define __HAVE_ARCH_STRNCMP 1
28 #define __HAVE_ARCH_STRNICMP 1
29 #define __HAVE_ARCH_STRCHR 1
30 #define __HAVE_ARCH_STRRCHR 1
31 #define __HAVE_ARCH_STRSTR 1
32 #define __HAVE_ARCH_STRLEN 1
33 #define __HAVE_ARCH_STRNLEN 1
34 #define __HAVE_ARCH_MEMSET 1
35 #define __HAVE_ARCH_MEMCPY 1
36 #define __HAVE_ARCH_MEMMOVE 1
37 #define __HAVE_ARCH_MEMSCAN 1
38 #define __HAVE_ARCH_MEMCMP 1
39 #define __HAVE_ARCH_MEMCHR 1
40 #define __HAVE_ARCH_STRTOK 1
42 #endif /* KERNEL */
44 #endif /* _M68K_STRING_H_ */