Thread (51 messages) 51 messages, 4 authors, 2015-11-27

Re: [PATCH V5 05/31] powerpc/mm: Move hash specific pte width and other defines to book3s

From: Anshuman Khandual <hidden>
Date: 2015-11-24 11:19:27

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 <redacted>
Signed-off-by: Aneesh Kumar K.V <redacted>
quoted hunk ↗ jump to hunk
 /* 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help