powerpc/mm: Move radix/hash common data structures to book3s64 headers
Start moving code that is generic between radix and hash to book3s64 specific headers from the book3s64 hash specific one. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
33d336d986
commit
11a6f6abd7
@@ -181,10 +181,13 @@ static inline void assert_pte_locked(struct mm_struct *mm, unsigned long addr)
|
||||
|
||||
#define MMU_PAGE_COUNT 15
|
||||
|
||||
#if defined(CONFIG_PPC_STD_MMU_64)
|
||||
/* 64-bit classic hash table MMU */
|
||||
#include <asm/book3s/64/mmu-hash.h>
|
||||
#elif defined(CONFIG_PPC_STD_MMU_32)
|
||||
#ifdef CONFIG_PPC_BOOK3S_64
|
||||
#include <asm/book3s/64/mmu.h>
|
||||
#else /* CONFIG_PPC_BOOK3S_64 */
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_PPC_STD_MMU_32)
|
||||
/* 32-bit classic hash table MMU */
|
||||
#include <asm/book3s/32/mmu-hash.h>
|
||||
#elif defined(CONFIG_40x)
|
||||
|
Reference in New Issue
Block a user