summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiantao Zhang <xiantao.zhang@intel.com>2008-11-20 10:35:35 +0800
committerAvi Kivity <avi@redhat.com>2008-11-23 14:52:47 +0200
commit547567c67774d872eb344d21e0f2d7a76eb1e9c5 (patch)
treec591ff57e9ed200ee4d9d00716727a2a72b13bbc
parentbd2b3ca7686d9470b1b58df631daa03179486182 (diff)
downloadlinux-stable-547567c67774d872eb344d21e0f2d7a76eb1e9c5.tar.gz
linux-stable-547567c67774d872eb344d21e0f2d7a76eb1e9c5.tar.bz2
linux-stable-547567c67774d872eb344d21e0f2d7a76eb1e9c5.zip
KVM: ia64: Fix incorrect kbuild CFLAGS override
Use CFLAGS_vcpu.o, not EXTRA_CFLAGS, to provide fixed register information to the compiler. Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r--arch/ia64/kvm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kvm/Makefile b/arch/ia64/kvm/Makefile
index 3ab4d6d50704..92cef66ca268 100644
--- a/arch/ia64/kvm/Makefile
+++ b/arch/ia64/kvm/Makefile
@@ -58,7 +58,7 @@ endif
kvm-objs := $(common-objs) kvm-ia64.o kvm_fw.o
obj-$(CONFIG_KVM) += kvm.o
-EXTRA_CFLAGS_vcpu.o += -mfixed-range=f2-f5,f12-f127
+CFLAGS_vcpu.o += -mfixed-range=f2-f5,f12-f127
kvm-intel-objs = vmm.o vmm_ivt.o trampoline.o vcpu.o optvfault.o mmio.o \
vtlb.o process.o
#Add link memcpy and memset to avoid possible structure assignment error