|
@@ -22,6 +22,7 @@
|
|
*/
|
|
*/
|
|
#include <asm/pgtable-ppc64.h>
|
|
#include <asm/pgtable-ppc64.h>
|
|
#include <asm/bug.h>
|
|
#include <asm/bug.h>
|
|
|
|
+#include <asm/processor.h>
|
|
|
|
|
|
/*
|
|
/*
|
|
* Segment table
|
|
* Segment table
|
|
@@ -496,7 +497,7 @@ extern void slb_set_size(u16 size);
|
|
*/
|
|
*/
|
|
struct subpage_prot_table {
|
|
struct subpage_prot_table {
|
|
unsigned long maxaddr; /* only addresses < this are protected */
|
|
unsigned long maxaddr; /* only addresses < this are protected */
|
|
- unsigned int **protptrs[2];
|
|
|
|
|
|
+ unsigned int **protptrs[(TASK_SIZE_USER64 >> 43)];
|
|
unsigned int *low_prot[4];
|
|
unsigned int *low_prot[4];
|
|
};
|
|
};
|
|
|
|
|