powerpc/mm/slice: create header files dedicated to slices
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 22 Feb 2018 14:27:22 +0000 (15:27 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 5 Mar 2018 22:21:22 +0000 (09:21 +1100)
commita3286f05bc5a5bc7fc73a9783ec89de78fcd07f8
tree388e2ad06d47bb6b975896667cf991989db1be89
parent326691ad4f179e6edc7eb1271e618dd673e4736d
powerpc/mm/slice: create header files dedicated to slices

In preparation for the following patch which will enhance 'slices'
for supporting PPC32 in order to fix an issue on hugepages on 8xx,
this patch takes out of page*.h all bits related to 'slices' and put
them into newly created slice.h header files.
While common parts go into asm/slice.h, subarch specific
parts go into respective books3s/64/slice.c and nohash/64/slice.c
'slices'

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/64/slice.h [new file with mode: 0644]
arch/powerpc/include/asm/nohash/64/slice.h [new file with mode: 0644]
arch/powerpc/include/asm/page.h
arch/powerpc/include/asm/page_64.h
arch/powerpc/include/asm/slice.h [new file with mode: 0644]