powerpc/mm/book3s-64: Move _PAGE_PRESENT to the most significant bit
This changes _PAGE_PRESENT for 64-bit Book 3S processors from 0x2 to 0x8000_0000_0000_0000, because that is where PowerISA v3.0 CPUs in radix mode will expect to find it. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
c61a884312
commit
849f86a630
@@ -110,7 +110,8 @@ extern unsigned long Hash_size, Hash_mask;
|
||||
#endif /* CONFIG_PPC32 */
|
||||
|
||||
#ifdef CONFIG_PPC64
|
||||
extern int map_kernel_page(unsigned long ea, unsigned long pa, int flags);
|
||||
extern int map_kernel_page(unsigned long ea, unsigned long pa,
|
||||
unsigned long flags);
|
||||
#endif /* CONFIG_PPC64 */
|
||||
|
||||
extern unsigned long ioremap_bot;
|
||||
|
Reference in New Issue
Block a user