diff options
Diffstat (limited to 'arch/powerpc/include/asm/mmu-hash64.h')
| -rw-r--r-- | arch/powerpc/include/asm/mmu-hash64.h | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/mmu-hash64.h b/arch/powerpc/include/asm/mmu-hash64.h index c4cf0119727..c2b4dcf23d0 100644 --- a/arch/powerpc/include/asm/mmu-hash64.h +++ b/arch/powerpc/include/asm/mmu-hash64.h @@ -22,6 +22,7 @@   */  #include <asm/pgtable-ppc64.h>  #include <asm/bug.h> +#include <asm/processor.h>  /*   * Segment table @@ -135,8 +136,8 @@ extern char initial_stab[];  #ifndef __ASSEMBLY__  struct hash_pte { -	unsigned long v; -	unsigned long r; +	__be64 v; +	__be64 r;  };  extern struct hash_pte *htab_address; @@ -496,7 +497,7 @@ extern void slb_set_size(u16 size);   */  struct subpage_prot_table {  	unsigned long maxaddr;	/* only addresses < this are protected */ -	unsigned int **protptrs[2]; +	unsigned int **protptrs[(TASK_SIZE_USER64 >> 43)];  	unsigned int *low_prot[4];  };  | 
