diff options
author | Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> | 2013-04-27 22:02:32 +0400 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2017-02-06 15:50:41 +0300 |
commit | 3e06a16339303016b2c57b350a15afeaa7ba7813 (patch) | |
tree | 50c37ae52646d26a40c56e8b34d7453ee52e0af4 /arch/openrisc/include | |
parent | c0fcaf554ed9b65477576439e8de63578d731070 (diff) | |
download | linux-3e06a16339303016b2c57b350a15afeaa7ba7813.tar.xz |
openrisc: add cache way information to cpuinfo
Motivation for this is to be able to print the way information
properly in print_cpuinfo(), instead of hardcoding it to one.
Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Signed-off-by: Jonas Bonn <jonas@southpole.se>
[shorne@gmail.com fixed conflict with show_cpuinfo change]
Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'arch/openrisc/include')
-rw-r--r-- | arch/openrisc/include/asm/cpuinfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/openrisc/include/asm/cpuinfo.h b/arch/openrisc/include/asm/cpuinfo.h index 917318b6a970..ec10679d6429 100644 --- a/arch/openrisc/include/asm/cpuinfo.h +++ b/arch/openrisc/include/asm/cpuinfo.h @@ -24,9 +24,11 @@ struct cpuinfo { u32 icache_size; u32 icache_block_size; + u32 icache_ways; u32 dcache_size; u32 dcache_block_size; + u32 dcache_ways; }; extern struct cpuinfo cpuinfo; |