ia64/xen-unstable

view buildconfigs/select-linux-arch @ 17871:0df3bf8aac1e

[IA64] trivial compilation fix caused by c/s 17847:8a0415fac759.

This patch fixes the following compilation error caused
by c/s 17847:8a0415fac759.

machine_kexec.c: In function 'arch_crash_save_vmcoreinfo':
machine_kexec.c:201: error: 'frametable_pg_dir' undeclared (first use in this function)
machine_kexec.c:201: error: (Each undeclared identifier is reported only once
machine_kexec.c:201: error: for each function it appears in.)

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Jun 16 16:35:17 2008 +0100 (2008-06-16)
parents 419a141ca16d
children
line source
1 #!/bin/sh
3 ME=$(basename $0)
5 if [ $# -lt 1 ] || [ $# -gt 2 ] ; then
6 echo "usage: $ME <linux-build-directory>" 1>&2
7 exit 1;
8 fi
10 LINUX_DIR=$1
12 case ${XEN_TARGET_ARCH} in
13 x86_32|x86_64)
14 if [ -d ${LINUX_DIR}/arch/x86 ] ; then
15 ARCH=x86
16 elif [ "${XEN_TARGET_ARCH}" = "x86_32" ] ; then
17 ARCH=i386
18 else
19 ARCH=x86_64
20 fi
21 ;;
22 *)
23 ARCH=${XEN_TARGET_ARCH}
24 ;;
25 esac
27 echo "$ME: ${ARCH}" 1>&2
28 echo ${ARCH}
30 exit 0