OSDN Git Service

powerpc/mm: Split dump_pagelinuxtables flag_array table
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 9 Oct 2018 13:51:58 +0000 (13:51 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 14 Oct 2018 07:04:09 +0000 (18:04 +1100)
commit97026b5a5ac26541b3d294146f5c941491a9e609
tree860767729bf0ea7694d24ccfc1b448c694372272
parent26973fa5ac0e3b88d0d476caccfc10839b26098b
powerpc/mm: Split dump_pagelinuxtables flag_array table

To reduce the complexity of flag_array, and allow the removal of
default 0 value of non existing flags, lets have one flag_array
table for each platform family with only the really existing flags.

Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/Makefile
arch/powerpc/mm/dump_linuxpagetables-8xx.c [new file with mode: 0644]
arch/powerpc/mm/dump_linuxpagetables-book3s64.c [new file with mode: 0644]
arch/powerpc/mm/dump_linuxpagetables-generic.c [new file with mode: 0644]
arch/powerpc/mm/dump_linuxpagetables.c
arch/powerpc/mm/dump_linuxpagetables.h [new file with mode: 0644]