From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Gortmaker Date: Tue, 21 Jan 2014 21:22:14 +0000 Subject: [PATCH 11/73] powerpc: book3s KVM can be modular so it should use module.h Message-Id: <1390339396-3479-12-git-send-email-paul.gortmaker@windriver.com> List-Id: References: <1390339396-3479-1-git-send-email-paul.gortmaker@windriver.com> In-Reply-To: <1390339396-3479-1-git-send-email-paul.gortmaker@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-kernel@vger.kernel.org Cc: linux-arch@vger.kernel.org, Paul Gortmaker , Gleb Natapov , Paolo Bonzini , Alexander Graf , Benjamin Herrenschmidt , Paul Mackerras , kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Even though KVM is bool, KVM_BOOK3S_32 and KVM_BOOK3S_64 are declared as Kconfig tristate, so this file really should be including module.h instead of export.h -- it only works currently because module_init is currently (mis)placed in init.h -- but we are intending to clean that up and relocate it to module.h Cc: Gleb Natapov Cc: Paolo Bonzini Cc: Alexander Graf Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: kvm@vger.kernel.org Cc: kvm-ppc@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Paul Gortmaker --- arch/powerpc/kvm/book3s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kvm/book3s.c b/arch/powerpc/kvm/book3s.c index 8912608..279459e 100644 --- a/arch/powerpc/kvm/book3s.c +++ b/arch/powerpc/kvm/book3s.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include #include -- 1.8.4.1 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Gortmaker Subject: [PATCH 11/73] powerpc: book3s KVM can be modular so it should use module.h Date: Tue, 21 Jan 2014 16:22:14 -0500 Message-ID: <1390339396-3479-12-git-send-email-paul.gortmaker@windriver.com> References: <1390339396-3479-1-git-send-email-paul.gortmaker@windriver.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1390339396-3479-1-git-send-email-paul.gortmaker@windriver.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+glppe-linuxppc-embedded-2=m.gmane.org@lists.ozlabs.org Sender: "Linuxppc-dev" To: linux-kernel@vger.kernel.org Cc: linux-arch@vger.kernel.org, kvm@vger.kernel.org, Gleb Natapov , Alexander Graf , kvm-ppc@vger.kernel.org, Paul Gortmaker , Paul Mackerras , Paolo Bonzini , linuxppc-dev@lists.ozlabs.org List-Id: linux-arch.vger.kernel.org Even though KVM is bool, KVM_BOOK3S_32 and KVM_BOOK3S_64 are declared as Kconfig tristate, so this file really should be including module.h instead of export.h -- it only works currently because module_init is currently (mis)placed in init.h -- but we are intending to clean that up and relocate it to module.h Cc: Gleb Natapov Cc: Paolo Bonzini Cc: Alexander Graf Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: kvm@vger.kernel.org Cc: kvm-ppc@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Paul Gortmaker --- arch/powerpc/kvm/book3s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kvm/book3s.c b/arch/powerpc/kvm/book3s.c index 8912608..279459e 100644 --- a/arch/powerpc/kvm/book3s.c +++ b/arch/powerpc/kvm/book3s.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include #include -- 1.8.4.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com ([147.11.1.11]:56236 "EHLO mail.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752618AbaAUVYb (ORCPT ); Tue, 21 Jan 2014 16:24:31 -0500 From: Paul Gortmaker Subject: [PATCH 11/73] powerpc: book3s KVM can be modular so it should use module.h Date: Tue, 21 Jan 2014 16:22:14 -0500 Message-ID: <1390339396-3479-12-git-send-email-paul.gortmaker@windriver.com> In-Reply-To: <1390339396-3479-1-git-send-email-paul.gortmaker@windriver.com> References: <1390339396-3479-1-git-send-email-paul.gortmaker@windriver.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-arch-owner@vger.kernel.org List-ID: To: linux-kernel@vger.kernel.org Cc: linux-arch@vger.kernel.org, Paul Gortmaker , Gleb Natapov , Paolo Bonzini , Alexander Graf , Benjamin Herrenschmidt , Paul Mackerras , kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Message-ID: <20140121212214.UcaTIi2k5lLM--ZBm39rqXiRNNpj9V6Wbv_Wp28vrO0@z> Even though KVM is bool, KVM_BOOK3S_32 and KVM_BOOK3S_64 are declared as Kconfig tristate, so this file really should be including module.h instead of export.h -- it only works currently because module_init is currently (mis)placed in init.h -- but we are intending to clean that up and relocate it to module.h Cc: Gleb Natapov Cc: Paolo Bonzini Cc: Alexander Graf Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: kvm@vger.kernel.org Cc: kvm-ppc@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Paul Gortmaker --- arch/powerpc/kvm/book3s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kvm/book3s.c b/arch/powerpc/kvm/book3s.c index 8912608..279459e 100644 --- a/arch/powerpc/kvm/book3s.c +++ b/arch/powerpc/kvm/book3s.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include #include -- 1.8.4.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id F372A2C00A6 for ; Wed, 22 Jan 2014 08:24:22 +1100 (EST) From: Paul Gortmaker To: Subject: [PATCH 11/73] powerpc: book3s KVM can be modular so it should use module.h Date: Tue, 21 Jan 2014 16:22:14 -0500 Message-ID: <1390339396-3479-12-git-send-email-paul.gortmaker@windriver.com> In-Reply-To: <1390339396-3479-1-git-send-email-paul.gortmaker@windriver.com> References: <1390339396-3479-1-git-send-email-paul.gortmaker@windriver.com> MIME-Version: 1.0 Content-Type: text/plain Cc: linux-arch@vger.kernel.org, kvm@vger.kernel.org, Gleb Natapov , Alexander Graf , kvm-ppc@vger.kernel.org, Paul Gortmaker , Paul Mackerras , Paolo Bonzini , linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Even though KVM is bool, KVM_BOOK3S_32 and KVM_BOOK3S_64 are declared as Kconfig tristate, so this file really should be including module.h instead of export.h -- it only works currently because module_init is currently (mis)placed in init.h -- but we are intending to clean that up and relocate it to module.h Cc: Gleb Natapov Cc: Paolo Bonzini Cc: Alexander Graf Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: kvm@vger.kernel.org Cc: kvm-ppc@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Paul Gortmaker --- arch/powerpc/kvm/book3s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kvm/book3s.c b/arch/powerpc/kvm/book3s.c index 8912608..279459e 100644 --- a/arch/powerpc/kvm/book3s.c +++ b/arch/powerpc/kvm/book3s.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include #include -- 1.8.4.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754973AbaAUVqo (ORCPT ); Tue, 21 Jan 2014 16:46:44 -0500 Received: from mail.windriver.com ([147.11.1.11]:56236 "EHLO mail.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752618AbaAUVYb (ORCPT ); Tue, 21 Jan 2014 16:24:31 -0500 From: Paul Gortmaker To: CC: , Paul Gortmaker , Gleb Natapov , Paolo Bonzini , Alexander Graf , Benjamin Herrenschmidt , Paul Mackerras , , , Subject: [PATCH 11/73] powerpc: book3s KVM can be modular so it should use module.h Date: Tue, 21 Jan 2014 16:22:14 -0500 Message-ID: <1390339396-3479-12-git-send-email-paul.gortmaker@windriver.com> X-Mailer: git-send-email 1.8.4.1 In-Reply-To: <1390339396-3479-1-git-send-email-paul.gortmaker@windriver.com> References: <1390339396-3479-1-git-send-email-paul.gortmaker@windriver.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Even though KVM is bool, KVM_BOOK3S_32 and KVM_BOOK3S_64 are declared as Kconfig tristate, so this file really should be including module.h instead of export.h -- it only works currently because module_init is currently (mis)placed in init.h -- but we are intending to clean that up and relocate it to module.h Cc: Gleb Natapov Cc: Paolo Bonzini Cc: Alexander Graf Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: kvm@vger.kernel.org Cc: kvm-ppc@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Paul Gortmaker --- arch/powerpc/kvm/book3s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kvm/book3s.c b/arch/powerpc/kvm/book3s.c index 8912608..279459e 100644 --- a/arch/powerpc/kvm/book3s.c +++ b/arch/powerpc/kvm/book3s.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include #include -- 1.8.4.1