ia64/linux-2.6.18-xen.hg

annotate include/asm-arm/namei.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
rev   line source
ian@0 1 /*
ian@0 2 * linux/include/asm-arm/namei.h
ian@0 3 *
ian@0 4 * Routines to handle famous /usr/gnemul
ian@0 5 * Derived from the Sparc version of this file
ian@0 6 *
ian@0 7 * Included from linux/fs/namei.c
ian@0 8 */
ian@0 9
ian@0 10 #ifndef __ASMARM_NAMEI_H
ian@0 11 #define __ASMARM_NAMEI_H
ian@0 12
ian@0 13 #define ARM_BSD_EMUL "usr/gnemul/bsd/"
ian@0 14
ian@0 15 static inline char *__emul_prefix(void)
ian@0 16 {
ian@0 17 switch (current->personality) {
ian@0 18 case PER_BSD:
ian@0 19 return ARM_BSD_EMUL;
ian@0 20 default:
ian@0 21 return NULL;
ian@0 22 }
ian@0 23 }
ian@0 24
ian@0 25 #endif /* __ASMARM_NAMEI_H */