Pārlūkot izejas kodu

ppc: Export tlb_44x_hwater for KVM

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>
Hollis Blanchard 17 gadi atpakaļ
vecāks
revīzija
4baacfb0de
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      include/asm-powerpc/mmu-44x.h

+ 2 - 0
include/asm-powerpc/mmu-44x.h

@@ -53,6 +53,8 @@
 
 #ifndef __ASSEMBLY__
 
+extern unsigned int tlb_44x_hwater;
+
 typedef struct {
 	unsigned long id;
 	unsigned long vdso_base;