[PATCH V5 03/31] powerpc/mm: make a separate copy for book3s

Anshuman Khandual khandual at linux.vnet.ibm.com
Tue Nov 24 20:13:05 AEDT 2015


On 11/23/2015 03:52 PM, Aneesh Kumar K.V wrote:
> +++ b/arch/powerpc/include/asm/book3s/pgtable.h
> @@ -0,0 +1,10 @@
> +#ifndef _ASM_POWERPC_BOOK3S_PGTABLE_H
> +#define _ASM_POWERPC_BOOK3S_PGTABLE_H
> +
> +#ifdef CONFIG_PPC64
> +#include <asm/book3s/64/pgtable.h>
> +#else
> +#include <asm/book3s/32/pgtable.h>
> +#endif
> +
> +#endif

Just as other headers, you may want to change the last line
as the following.

#endif /* _ASM_POWERPC_BOOK3S_PGTABLE_H */



More information about the Linuxppc-dev mailing list