]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc73ecf8153e8670634186baab837e0cdddd0a097
tree388e2ad06d47bb6b975896667cf991989db1be89
parent30f2a58282b991bdd146e57ba5912a2e149aec9a
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]