powerpc/64: Clean up ppc64_caches using a struct per cache
We have two set of identical struct members for the I and D sides and mostly identical bunches of code to parse the device-tree to populate them. Instead make a ppc_cache_info structure with one copy for I and one for D Signed-off-by:Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by:
Michael Ellerman <mpe@ellerman.id.au>
Showing
- arch/powerpc/include/asm/cache.h 12 additions, 12 deletionsarch/powerpc/include/asm/cache.h
- arch/powerpc/include/asm/page_64.h 2 additions, 2 deletionsarch/powerpc/include/asm/page_64.h
- arch/powerpc/kernel/align.c 1 addition, 1 deletionarch/powerpc/kernel/align.c
- arch/powerpc/kernel/asm-offsets.c 6 additions, 6 deletionsarch/powerpc/kernel/asm-offsets.c
- arch/powerpc/kernel/setup_64.c 90 additions, 93 deletionsarch/powerpc/kernel/setup_64.c
- arch/powerpc/kernel/vdso.c 8 additions, 8 deletionsarch/powerpc/kernel/vdso.c
Loading
Please register or sign in to comment