diff options
Diffstat (limited to 'arch/powerpc/kernel/cacheinfo.c')
-rw-r--r-- | arch/powerpc/kernel/cacheinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/cacheinfo.c b/arch/powerpc/kernel/cacheinfo.c index be57bd07596d..53102764fd2f 100644 --- a/arch/powerpc/kernel/cacheinfo.c +++ b/arch/powerpc/kernel/cacheinfo.c | |||
@@ -428,7 +428,7 @@ static void link_cache_lists(struct cache *smaller, struct cache *bigger) | |||
428 | static void do_subsidiary_caches_debugcheck(struct cache *cache) | 428 | static void do_subsidiary_caches_debugcheck(struct cache *cache) |
429 | { | 429 | { |
430 | WARN_ON_ONCE(cache->level != 1); | 430 | WARN_ON_ONCE(cache->level != 1); |
431 | WARN_ON_ONCE(strcmp(cache->ofnode->type, "cpu")); | 431 | WARN_ON_ONCE(!of_node_is_type(cache->ofnode, "cpu")); |
432 | } | 432 | } |
433 | 433 | ||
434 | static void do_subsidiary_caches(struct cache *cache) | 434 | static void do_subsidiary_caches(struct cache *cache) |