Skip to content

Commit

Permalink
ppc: Export tlb_44x_hwater for KVM
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hollis Blanchard authored and Avi Kivity committed Apr 27, 2008
1 parent 76f7c87 commit 4baacfb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/asm-powerpc/mmu-44x.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@

#ifndef __ASSEMBLY__

extern unsigned int tlb_44x_hwater;

typedef struct {
unsigned long id;
unsigned long vdso_base;
Expand Down

0 comments on commit 4baacfb

Please sign in to comment.