]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ppc: Export tlb_44x_hwater for KVM
authorHollis Blanchard <hollisb@us.ibm.com>
Thu, 17 Apr 2008 04:28:06 +0000 (23:28 -0500)
committerAvi Kivity <avi@qumranet.com>
Sun, 27 Apr 2008 15:21:37 +0000 (18:21 +0300)
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@us.ibm.com>
Acked-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Avi Kivity <avi@qumranet.com>
include/asm-powerpc/mmu-44x.h

index c8b02d97f75378c6c42b81c3adadfed7a57ffbd8..a825524c981a3965bda27107e53e83b62e7b4c13 100644 (file)
@@ -53,6 +53,8 @@
 
 #ifndef __ASSEMBLY__
 
+extern unsigned int tlb_44x_hwater;
+
 typedef struct {
        unsigned long id;
        unsigned long vdso_base;