From patchwork Wed May 1 05:38:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jordan Justen X-Patchwork-Id: 2507101 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id C3D273FC5A for ; Wed, 1 May 2013 05:38:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752767Ab3EAFiS (ORCPT ); Wed, 1 May 2013 01:38:18 -0400 Received: from mga09.intel.com ([134.134.136.24]:18822 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752699Ab3EAFiQ (ORCPT ); Wed, 1 May 2013 01:38:16 -0400 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 30 Apr 2013 22:36:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.87,587,1363158000"; d="scan'208";a="306032736" Received: from unknown (HELO jljusten-ivy.amr.corp.intel.com) ([10.255.12.145]) by orsmga001.jf.intel.com with ESMTP; 30 Apr 2013 22:38:15 -0700 From: Jordan Justen To: kvm@vger.kernel.org Cc: Jordan Justen , Xiao Guangrong , Jan Kiszka Subject: [PATCH] kvm: always define KVM_CAP_READONLY_MEM Date: Tue, 30 Apr 2013 22:38:00 -0700 Message-Id: <1367386680-30806-1-git-send-email-jordan.l.justen@intel.com> X-Mailer: git-send-email 1.7.10.4 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Don't use #ifdef __KVM_HAVE_READONLY_MEM when defining KVM_CAP_READONLY_MEM. Signed-off-by: Jordan Justen Cc: Xiao Guangrong Cc: Jan Kiszka --- include/uapi/linux/kvm.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h index 3c56ba3..26a04e5 100644 --- a/include/uapi/linux/kvm.h +++ b/include/uapi/linux/kvm.h @@ -655,9 +655,7 @@ struct kvm_ppc_smmu_info { #define KVM_CAP_PPC_GET_SMMU_INFO 78 #define KVM_CAP_S390_COW 79 #define KVM_CAP_PPC_ALLOC_HTAB 80 -#ifdef __KVM_HAVE_READONLY_MEM #define KVM_CAP_READONLY_MEM 81 -#endif #define KVM_CAP_IRQFD_RESAMPLE 82 #define KVM_CAP_PPC_BOOKE_WATCHDOG 83 #define KVM_CAP_PPC_HTAB_FD 84