From: Liu Yu Date: Wed, 14 Jan 2009 16:47:36 +0000 (-0600) Subject: powerpc/fsl-booke: declare tlbcam_index for use in c X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=87c656b4147cd08c6efba95d8d70c12cba181255;p=linux-2.6-omap-h63xx.git powerpc/fsl-booke: declare tlbcam_index for use in c So, KVM needs to read tlbcam_index to know exactly which TLB1 entry is unused by host. Signed-off-by: Liu Yu Acked-by: Kumar Gala Signed-off-by: Hollis Blanchard Signed-off-by: Avi Kivity --- diff --git a/arch/powerpc/include/asm/mmu-fsl-booke.h b/arch/powerpc/include/asm/mmu-fsl-booke.h index 3f941c0f7e8..4285b64a65e 100644 --- a/arch/powerpc/include/asm/mmu-fsl-booke.h +++ b/arch/powerpc/include/asm/mmu-fsl-booke.h @@ -75,6 +75,8 @@ #ifndef __ASSEMBLY__ +extern unsigned int tlbcam_index; + typedef struct { unsigned int id; unsigned int active;