diff options
| author | Liu Yu <yu.liu@freescale.com> | 2009-01-14 11:47:36 -0500 |
|---|---|---|
| committer | Avi Kivity <avi@redhat.com> | 2009-03-24 05:03:05 -0400 |
| commit | 87c656b4147cd08c6efba95d8d70c12cba181255 (patch) | |
| tree | 9548998dad485b617f26cecf67f0e7fb1995e8d9 /arch | |
| parent | 5a41accd3f69c6ef1d58f0c148980bae70515937 (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>
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/powerpc/include/asm/mmu-fsl-booke.h | 2 |
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 | ||
| 78 | extern unsigned int tlbcam_index; | ||
| 79 | |||
| 78 | typedef struct { | 80 | typedef struct { |
| 79 | unsigned int id; | 81 | unsigned int id; |
| 80 | unsigned int active; | 82 | unsigned int active; |
