Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932129AbbGCJBb (ORCPT ); Fri, 3 Jul 2015 05:01:31 -0400 Received: from mga02.intel.com ([134.134.136.20]:7281 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754659AbbGCJBM (ORCPT ); Fri, 3 Jul 2015 05:01:12 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,399,1432623600"; d="scan'208";a="722291183" From: Tiejun Chen To: kvm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Gleb Natapov , Paolo Bonzini Subject: [[PATCH 1/2] kvm: make preempt_notifier free out CONFIG_PREEMPT_NOTIFIERS Date: Fri, 3 Jul 2015 16:56:27 +0800 Message-Id: <1435913788-4300-1-git-send-email-tiejun.chen@intel.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 938 Lines: 32 In any cases CONFIG_KVM always means CONFIG_PREEMPT_NOTIFIERS is enabled unconditionally so its really pointless. CC: Gleb Natapov CC: Paolo Bonzini Signed-off-by: Tiejun Chen --- include/linux/kvm_host.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 9564fd7..695f4f3 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h @@ -220,9 +220,7 @@ struct kvm_mmio_fragment { struct kvm_vcpu { struct kvm *kvm; -#ifdef CONFIG_PREEMPT_NOTIFIERS struct preempt_notifier preempt_notifier; -#endif int cpu; int vcpu_id; int srcu_idx; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/