diff options
Diffstat (limited to 'arch/xtensa/mm/init.c')
-rw-r--r-- | arch/xtensa/mm/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/xtensa/mm/init.c b/arch/xtensa/mm/init.c index 660ef058c149..e1ec2d1e8189 100644 --- a/arch/xtensa/mm/init.c +++ b/arch/xtensa/mm/init.c | |||
@@ -141,8 +141,8 @@ void __init bootmem_init(void) | |||
141 | if (min_low_pfn > max_pfn) | 141 | if (min_low_pfn > max_pfn) |
142 | panic("No memory found!\n"); | 142 | panic("No memory found!\n"); |
143 | 143 | ||
144 | max_low_pfn = max_pfn < MAX_LOW_MEMORY >> PAGE_SHIFT ? | 144 | max_low_pfn = max_pfn < MAX_MEM_PFN >> PAGE_SHIFT ? |
145 | max_pfn : MAX_LOW_MEMORY >> PAGE_SHIFT; | 145 | max_pfn : MAX_MEM_PFN >> PAGE_SHIFT; |
146 | 146 | ||
147 | /* Find an area to use for the bootmem bitmap. */ | 147 | /* Find an area to use for the bootmem bitmap. */ |
148 | 148 | ||
@@ -215,7 +215,7 @@ void __init init_mmu (void) | |||
215 | 215 | ||
216 | /* Set rasid register to a known value. */ | 216 | /* Set rasid register to a known value. */ |
217 | 217 | ||
218 | set_rasid_register (ASID_ALL_RESERVED); | 218 | set_rasid_register (ASID_USER_FIRST); |
219 | 219 | ||
220 | /* Set PTEVADDR special register to the start of the page | 220 | /* Set PTEVADDR special register to the start of the page |
221 | * table, which is in kernel mappable space (ie. not | 221 | * table, which is in kernel mappable space (ie. not |