diff options
Diffstat (limited to 'arch/powerpc/include/asm/mmu-book3e.h')
| -rw-r--r-- | arch/powerpc/include/asm/mmu-book3e.h | 20 | 
1 files changed, 16 insertions, 4 deletions
diff --git a/arch/powerpc/include/asm/mmu-book3e.h b/arch/powerpc/include/asm/mmu-book3e.h index 936db360790..d0918e09557 100644 --- a/arch/powerpc/include/asm/mmu-book3e.h +++ b/arch/powerpc/include/asm/mmu-book3e.h @@ -223,10 +223,6 @@ typedef struct {  	unsigned int	id;  	unsigned int	active;  	unsigned long	vdso_base; -#ifdef CONFIG_PPC_ICSWX -	struct spinlock *cop_lockp;	/* guard cop related stuff */ -	unsigned long acop;		/* mask of enabled coprocessor types */ -#endif /* CONFIG_PPC_ICSWX */  #ifdef CONFIG_PPC_MM_SLICES  	u64 low_slices_psize;   /* SLB page size encodings */  	u64 high_slices_psize;  /* 4 bits per slice for now */ @@ -286,8 +282,24 @@ static inline unsigned int mmu_psize_to_shift(unsigned int mmu_psize)  extern int mmu_linear_psize;  extern int mmu_vmemmap_psize; +struct tlb_core_data { +	/* +	 * Per-core spinlock for e6500 TLB handlers (no tlbsrx.) +	 * Must be the first struct element. +	 */ +	u8 lock; + +	/* For software way selection, as on Freescale TLB1 */ +	u8 esel_next, esel_max, esel_first; +}; +  #ifdef CONFIG_PPC64  extern unsigned long linear_map_top; +extern int book3e_htw_mode; + +#define PPC_HTW_NONE	0 +#define PPC_HTW_IBM	1 +#define PPC_HTW_E6500	2  /*   * 64-bit booke platforms don't load the tlb in the tlb miss handler code.  | 
