[PATCH 1 of 3] [POWERPC 44x] Export tlb_44x_hwater for KVM

Hollis Blanchard hollisb at us.ibm.com
Tue Apr 8 06:53:32 EST 2008


1 file changed, 2 insertions(+)
include/asm-powerpc/mmu-44x.h |    2 ++


PowerPC 440 KVM needs to know how many TLB entries are used for the host kernel
linear mapping (it does not modify these mappings when switching between guest
and host execution).

Signed-off-by: Hollis Blanchard <hollisb at us.ibm.com>

diff --git a/include/asm-powerpc/mmu-44x.h b/include/asm-powerpc/mmu-44x.h
--- a/include/asm-powerpc/mmu-44x.h
+++ b/include/asm-powerpc/mmu-44x.h
@@ -53,6 +53,8 @@
 
 #ifndef __ASSEMBLY__
 
+extern unsigned int tlb_44x_hwater;
+
 typedef unsigned long long phys_addr_t;
 
 typedef struct {



More information about the Linuxppc-dev mailing list