On 11/23/2015 03:52 PM, Aneesh Kumar K.V wrote: > This further make a copy of pte defines to book3s/64/hash*.h. This > remove the dependency on ppc64-4k.h and ppc64-64k.h >
These files are pgtable-ppc64-4k.h and pgtable-ppc64-64k.h instead. > Acked-by: Scott Wood <scottw...@freescale.com> > Signed-off-by: Aneesh Kumar K.V <aneesh.ku...@linux.vnet.ibm.com> > /* Additional PTE bits (don't change without checking asm in hash_low.S) */ > #define _PAGE_SPECIAL 0x00000400 /* software: special page */ > @@ -74,8 +105,8 @@ static inline unsigned long __rpte_to_hidx(real_pte_t > rpte, unsigned long index) > #define __rpte_to_pte(r) ((r).pte) > #define __rpte_sub_valid(rpte, index) \ > (pte_val(rpte.pte) & (_PAGE_HPTE_SUB0 >> (index))) > - > -/* Trick: we set __end to va + 64k, which happens works for > +/* > + * Trick: we set __end to va + 64k, which happens works for The above change can be avoided in this patch and should be part of a separate cleanup patch. _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev