From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Ehrhardt Subject: [PATCH] [3/2] move_kvm_cpu_cache_to_x86_header Date: Thu, 29 Nov 2007 11:00:02 +0100 Message-ID: <474E8DA2.600@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: "Zhang, Xiantao" , avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org, kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, carsteno-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org, hollisb-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org From: Christian Ehrhardt Date: Thu, 29 Nov 2007 10:54:00 +0100 Subject: [PATCH] [3/2] move_kvm_cpu_cache_to_x86_header To prevent misuse of these x86 structure in generic code the definition mov= ed from kvm.h to x86.h. Signed-off-by: Christian Ehrhardt --- [diffstat] kvm.h | 1 - x86.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) [diff] diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h index b2545c8..6ff189f 100644 --- a/drivers/kvm/kvm.h +++ b/drivers/kvm/kvm.h @@ -112,7 +112,6 @@ struct kvm_mmu_page { }; = struct kvm_vcpu; -extern struct kmem_cache *kvm_vcpu_cache; = /* * x86 supports 3 paging modes (4-level 64-bit, 3-level 64-bit, and 2-level diff --git a/drivers/kvm/x86.h b/drivers/kvm/x86.h index 78ab1e1..2080a65 100644 --- a/drivers/kvm/x86.h +++ b/drivers/kvm/x86.h @@ -224,6 +224,7 @@ struct kvm_x86_ops { }; = extern struct kvm_x86_ops *kvm_x86_ops; +extern struct kmem_cache *kvm_vcpu_cache; = int kvm_mmu_module_init(void); void kvm_mmu_module_exit(void); -- = Gr=FCsse / regards, = Christian Ehrhardt IBM Linux Technology Center, Open Virtualization +49 7031/16-3385 Ehrhardt-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org Ehrhardt-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org IBM Deutschland Entwicklung GmbH Vorsitzender des Aufsichtsrats: Johann Weihen = Gesch=E4ftsf=FChrung: Herbert Kircher = Sitz der Gesellschaft: B=F6blingen Registergericht: Amtsgericht Stuttgart, HRB 243294 ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4