Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 87c656b4 authored by Liu Yu's avatar Liu Yu Committed by Avi Kivity
Browse files

powerpc/fsl-booke: declare tlbcam_index for use in c



So, KVM needs to read tlbcam_index to know exactly
which TLB1 entry is unused by host.

Signed-off-by: default avatarLiu Yu <yu.liu@freescale.com>
Acked-by: default avatarKumar Gala <galak@kernel.crashing.org>
Signed-off-by: default avatarHollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 5a41accd
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -75,6 +75,8 @@


#ifndef __ASSEMBLY__
#ifndef __ASSEMBLY__


extern unsigned int tlbcam_index;

typedef struct {
typedef struct {
	unsigned int	id;
	unsigned int	id;
	unsigned int	active;
	unsigned int	active;