commit | e2827fe5c1566f66a922dd7493cbe4522c50580a | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Sun Jan 08 17:31:47 2017 -0600 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Mon Feb 06 19:46:04 2017 +1100 |
tree | 49c4d659ade2f43d88a8b7a62f3c14f21aafef0c | |
parent | 5d451a87e5ebbde18c2b48284778f29d308816c2 [diff] |
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>