diff options
| author | Sahil Siddiq <[email protected]> | 2025-04-19 15:48:17 +0000 |
|---|---|---|
| committer | Stafford Horne <[email protected]> | 2025-04-20 06:06:54 +0000 |
| commit | efabefb05aa1fe534ddb1839980824a763a7f1b0 (patch) | |
| tree | 23d7e42edeb172388c6e3636ec7d24a91d9691cb /lib/string_helpers.c | |
| parent | Linux 6.14 (diff) | |
| download | kernel-efabefb05aa1fe534ddb1839980824a763a7f1b0.tar.gz kernel-efabefb05aa1fe534ddb1839980824a763a7f1b0.zip | |
openrisc: Refactor struct cpuinfo_or1k to reduce duplication
The "cpuinfo_or1k" structure currently has identical data members for
different cache components.
Remove these fields out of struct cpuinfo_or1k and into its own struct.
This reduces duplication while keeping cpuinfo_or1k extensible so more
cache descriptors can be added in the future.
Also add a new field "sets" to the new structure.
Signed-off-by: Sahil Siddiq <[email protected]>
Signed-off-by: Stafford Horne <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
