From patchwork Fri Mar 15 01:57:47 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sanjay Lal X-Patchwork-Id: 2274621 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id B78E0DFB79 for ; Fri, 15 Mar 2013 01:58:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753531Ab3COB5v (ORCPT ); Thu, 14 Mar 2013 21:57:51 -0400 Received: from kymasys.com ([64.62.140.43]:54181 "HELO kymasys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753400Ab3COB5u (ORCPT ); Thu, 14 Mar 2013 21:57:50 -0400 Received: from ::ffff:173.33.185.184 ([173.33.185.184]) by kymasys.com for ; Thu, 14 Mar 2013 18:57:48 -0700 From: Sanjay Lal Subject: [PATCH] KVM/MIPS32: define KVM_USER_MEM_SLOTS Date: Thu, 14 Mar 2013 21:57:47 -0400 Message-Id: <1400666E-DC9B-4684-9F3E-206383108116@kymasys.com> Cc: kvm@vger.kernel.org, Ralf Baechle , Andrew Morton , Alex Williamson , Gleb Natapov , Marcelo Tosatti To: linux-mips@linux-mips.org Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org ARCH=mips, config=fuloong2e_defconfig: akpm3:/usr/src/25> make arch/mips/kernel/early_printk.o ... CC arch/mips/kernel/asm-offsets.s In file included from arch/mips/kernel/asm-offsets.c:20: include/linux/kvm_host.h:334: error: `KVM_USER_MEM_SLOTS' undeclared here (not in a function) Reported-by: Andrew Morton Cc: Alex Williamson Cc: Marcelo Tosatti Cc: Gleb Natapov Cc: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: Sanjay Lal --- arch/mips/include/asm/kvm_host.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN arch/mips/include/asm/kvm_host.h~mips-define-kvm_user_mem_slots arch/mips/include/asm/kvm_host.h --- a/arch/mips/include/asm/kvm_host.h~mips-define-kvm_user_mem_slots +++ a/arch/mips/include/asm/kvm_host.h @@ -21,7 +21,7 @@ #define KVM_MAX_VCPUS 1 -#define KVM_MEMORY_SLOTS 8 +#define KVM_USER_MEM_SLOTS 8 /* memory slots that does not exposed to userspace */ #define KVM_PRIVATE_MEM_SLOTS 0