direct-io.hg

view unmodified_drivers/linux-2.6/mkbuildtree @ 11443:af50fb41612c

[IA64] Expand memory_op for PV-on-HVM on IPF

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
author awilliam@xenbuild.aw
date Fri Sep 01 08:46:02 2006 -0600 (2006-09-01)
parents 88e8abee7575
children 3bff5c5b9206
line source
1 #! /bin/sh
3 C=$PWD
5 XEN=$C/../../xen
6 XL=$C/../../linux-2.6-xen-sparse
8 for d in $(find ${XL}/drivers/xen/ -maxdepth 1 -type d | sed -e 1d); do
9 if ! echo $d | egrep -q back; then
10 lndir $d $(basename $d) > /dev/null 2>&1
11 fi
12 done
14 ln -sf ${XL}/drivers/xen/core/gnttab.c platform-pci
15 ln -sf ${XL}/drivers/xen/core/features.c platform-pci
16 ln -sf ${XL}/drivers/xen/core/xen_proc.c xenbus
18 mkdir -p include
19 mkdir -p include/xen
20 mkdir -p include/public
21 mkdir -p include/asm
23 lndir -silent ${XL}/include/xen include/xen
24 ln -sf ${XEN}/include/public include/xen/interface
26 # Need to be quite careful here: we don't want the files we link in to
27 # risk overriding the native Linux ones (in particular, system.h must
28 # be native and not xenolinux).
29 uname=`uname -m`
30 case "$uname"
31 in
32 "x86_64")
33 ln -sf ${XL}/include/asm-x86_64/mach-xen/asm/hypervisor.h include/asm
34 ln -sf ${XL}/include/asm-x86_64/mach-xen/asm/hypercall.h include/asm
35 ln -sf ${XL}/include/asm-x86_64/mach-xen/asm/synch_bitops.h include/asm
36 ln -sf ${XL}/include/asm-x86_64/mach-xen/asm/maddr.h include/asm
37 ln -sf ${XL}/include/asm-i386 include/asm-i386
38 ;;
39 i[34567]86)
40 ln -sf ${XL}/include/asm-i386/mach-xen/asm/hypervisor.h include/asm
41 ln -sf ${XL}/include/asm-i386/mach-xen/asm/hypercall.h include/asm
42 ln -sf ${XL}/include/asm-i386/mach-xen/asm/synch_bitops.h include/asm
43 ln -sf ${XL}/include/asm-i386/mach-xen/asm/maddr.h include/asm
44 ;;
45 *)
46 echo unknown architecture $uname
47 exit 1
48 ;;
49 esac