diff mbox

[1/3] Subject: powerpc/fsl-booke: declare tlbcam_index for use in c

Message ID b45a8d8bb4536aed9fc9db62fb8aa80f7f895920.1231950854.git.hollisb@us.ibm.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Hollis Blanchard Jan. 14, 2009, 4:47 p.m. UTC
From: Liu Yu <yu.liu@freescale.com>

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>
 arch/powerpc/include/asm/mmu-fsl-booke.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff mbox


diff --git a/arch/powerpc/include/asm/mmu-fsl-booke.h b/arch/powerpc/include/asm/mmu-fsl-booke.h
index 3f941c0..4285b64 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;