diff options
author | Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> | 2013-04-27 21:02:32 +0300 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2017-02-06 21:50:41 +0900 |
commit | 3e06a16339303016b2c57b350a15afeaa7ba7813 (patch) | |
tree | 50c37ae52646d26a40c56e8b34d7453ee52e0af4 /arch/openrisc/include | |
parent | c0fcaf554ed9b65477576439e8de63578d731070 (diff) | |
download | op-kernel-dev-3e06a16339303016b2c57b350a15afeaa7ba7813.zip op-kernel-dev-3e06a16339303016b2c57b350a15afeaa7ba7813.tar.gz |
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 917318b..ec10679 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; |