projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a41acc
)
powerpc/fsl-booke: declare tlbcam_index for use in c
author
Liu Yu
<yu.liu@freescale.com>
Wed, 14 Jan 2009 16:47:36 +0000
(10:47 -0600)
committer
Avi 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
patch
|
blob
|
history
diff --git
a/arch/powerpc/include/asm/mmu-fsl-booke.h
b/arch/powerpc/include/asm/mmu-fsl-booke.h
index 3f941c0f7e8eb504dd921e2a89b3f93087fb66ca..4285b64a65e0a3a10245b68d57809332d7dc8bc8 100644
(file)
--- 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;