# HG changeset patch # User yamahata@xxxxxxxxxxxxx # Date 1178077647 -32400 # Node ID 6690796853710c42e76207374707ec8e5419b676 # Parent 913ebb498872e522fcd78e5def7b6a3ee461e672 compilation fix. nsec_t is replaced with s64 and update Makefile of expose_p2m. PATCHNAME: update_expose_p2m_module Signed-off-by: Isaku Yamahata diff -r 913ebb498872 -r 669079685371 xen/arch/ia64/tools/p2m_expose/Makefile --- a/xen/arch/ia64/tools/p2m_expose/Makefile Wed May 02 12:46:41 2007 +0900 +++ b/xen/arch/ia64/tools/p2m_expose/Makefile Wed May 02 12:47:27 2007 +0900 @@ -3,12 +3,15 @@ else else PWD := $(shell pwd) TOPDIR ?= $(abspath $(PWD)/../../../../..) -KDIR ?= $(TOPDIR)/linux-$(shell awk '/^LINUX_VER\>/{print $$3}' $(TOPDIR)/buildconfigs/mk.linux-2.6-xen)-xen +KVER ?= $(shell awk '/^LINUX_VER\>/{print $$3}' $(TOPDIR)/buildconfigs/mk.linux-2.6-xen) +KDIR ?= $(TOPDIR)/linux-$(KVER)-xen #CROSS_COMPILE ?= ia64-unknown-linux- #ARCH ?= ia64 ifneq ($(O),) OPT_O := O=$(realpath $(O)) +else +OPT_O ?= O=$(TOPDIR)/build-linux-$(KVER)-xen_ia64 endif ifneq ($(V),) diff -r 913ebb498872 -r 669079685371 xen/arch/ia64/tools/p2m_expose/expose_p2m.c --- a/xen/arch/ia64/tools/p2m_expose/expose_p2m.c Wed May 02 12:46:41 2007 +0900 +++ b/xen/arch/ia64/tools/p2m_expose/expose_p2m.c Wed May 02 12:47:27 2007 +0900 @@ -64,7 +64,7 @@ do_p2m(unsigned long (*conv)(unsigned lo unsigned long gpfn; unsigned long mfn; unsigned long count; - nsec_t nsec; + s64 nsec; count = 0; do_gettimeofday(&before_tv);