aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/cacheinfo.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2015-05-08 09:45:34 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-24 15:31:33 -0400
commit2539b258ec028351af954c169ea1b0ff72023a9f (patch)
tree1deba50114158f805eb236826da8b00a8e6df369 /drivers/base/cacheinfo.c
parented1dc8a89454218a2471f67284765e8c03bdfc6b (diff)
drivers/base: cacheinfo: fix annoying typo when DT nodes are absent
s/hierarcy/hierarchy/ Maybe the typo will annoy people enough so that they add the missing nodes to their device-tree files, but I still think this is better off fixed. Signed-off-by: Will Deacon <will.deacon@arm.com> Acked-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/cacheinfo.c')
-rw-r--r--drivers/base/cacheinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/cacheinfo.c b/drivers/base/cacheinfo.c
index 9c2ba1c97c42..c75bda89821b 100644
--- a/drivers/base/cacheinfo.c
+++ b/drivers/base/cacheinfo.c
@@ -191,12 +191,12 @@ static int detect_cache_attributes(unsigned int cpu)
191 if (ret) 191 if (ret)
192 goto free_ci; 192 goto free_ci;
193 /* 193 /*
194 * For systems using DT for cache hierarcy, of_node and shared_cpu_map 194 * For systems using DT for cache hierarchy, of_node and shared_cpu_map
195 * will be set up here only if they are not populated already 195 * will be set up here only if they are not populated already
196 */ 196 */
197 ret = cache_shared_cpu_map_setup(cpu); 197 ret = cache_shared_cpu_map_setup(cpu);
198 if (ret) { 198 if (ret) {
199 pr_warn("Unable to detect cache hierarcy from DT for CPU %d\n", 199 pr_warn("Unable to detect cache hierarchy from DT for CPU %d\n",
200 cpu); 200 cpu);
201 goto free_ci; 201 goto free_ci;
202 } 202 }