aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiu Yu <yu.liu@freescale.com>2009-01-14 11:47:36 -0500
committerAvi Kivity <avi@redhat.com>2009-03-24 05:03:05 -0400
commit87c656b4147cd08c6efba95d8d70c12cba181255 (patch)
tree9548998dad485b617f26cecf67f0e7fb1995e8d9
parent5a41accd3f69c6ef1d58f0c148980bae70515937 (diff)
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 <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>
-rw-r--r--arch/powerpc/include/asm/mmu-fsl-booke.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/mmu-fsl-booke.h b/arch/powerpc/include/asm/mmu-fsl-booke.h
index 3f941c0f7e8e..4285b64a65e0 100644
--- a/arch/powerpc/include/asm/mmu-fsl-booke.h
+++ b/arch/powerpc/include/asm/mmu-fsl-booke.h
@@ -75,6 +75,8 @@
75 75
76#ifndef __ASSEMBLY__ 76#ifndef __ASSEMBLY__
77 77
78extern unsigned int tlbcam_index;
79
78typedef struct { 80typedef struct {
79 unsigned int id; 81 unsigned int id;
80 unsigned int active; 82 unsigned int active;