]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
powerpc/fsl-booke: declare tlbcam_index for use in c
authorLiu Yu <yu.liu@freescale.com>
Wed, 14 Jan 2009 16:47:36 +0000 (10:47 -0600)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:03:05 +0000 (11:03 +0200)
So, KVM needs to read tlbcam_index to know exactly
which TLB1 entry is unused by host.

Signed-off-by: Liu Yu <yu.liu@freescale.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/include/asm/mmu-fsl-booke.h

index 3f941c0f7e8eb504dd921e2a89b3f93087fb66ca..4285b64a65e0a3a10245b68d57809332d7dc8bc8 100644 (file)
@@ -75,6 +75,8 @@
 
 #ifndef __ASSEMBLY__
 
+extern unsigned int tlbcam_index;
+
 typedef struct {
        unsigned int    id;
        unsigned int    active;