From: Eduardo Habkost Subject: [PATCH] kvm: external module: test for EXT_CONFIG_KVM_TRACE instead of CONFIG_KVM_TRACE Date: Fri, 24 Oct 2008 15:28:24 -0200 Message-ID: <1224869304-14882-1-git-send-email-ehabkost@redhat.com> Cc: kvm@vger.kernel.org, Eduardo Habkost To: Avi Kivity Return-path: Received: from mx2.redhat.com ([66.187.237.31]:57890 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751975AbYJXR2p (ORCPT ); Fri, 24 Oct 2008 13:28:45 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id m9OHSj8h025898 for ; Fri, 24 Oct 2008 13:28:45 -0400 Sender: kvm-owner@vger.kernel.org List-ID: This patch complements 800e7a37ca9ace991a6a36a0046551ec30ec3b9c (kvm: external module: adjust KVM_TRACE support to account for host kernel). The config variable defined on config.kbuild was renamed to EXT_CONFIG_KVM_TRACE, but the check for the configure setting on kernel/Makefile was not changed to the new name, making the build system try to compile kvm_trace.c without -DEXT_CONFIG_KVM_TRACE=y, if building using --with-kvm-trace. Signed-off-by: Eduardo Habkost --- kernel/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/Makefile b/kernel/Makefile index ef18fa6..66d0677 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -34,7 +34,7 @@ hack-files-ia64 = kvm_main.c kvm_fw.c hack-files = $(hack-files-$(ARCH_DIR)) -ifeq ($(CONFIG_KVM_TRACE),y) +ifeq ($(EXT_CONFIG_KVM_TRACE),y) module_defines += -DEXT_CONFIG_KVM_TRACE=y endif -- 1.5.6.rc3.11.g5f54d