diff options
Diffstat (limited to 'arch/powerpc/kernel/cacheinfo.c')
-rw-r--r-- | arch/powerpc/kernel/cacheinfo.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/powerpc/kernel/cacheinfo.c b/arch/powerpc/kernel/cacheinfo.c index 862e2890bd3d..9fbb9d12e0c0 100644 --- a/arch/powerpc/kernel/cacheinfo.c +++ b/arch/powerpc/kernel/cacheinfo.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Processor cache information made available to userspace via sysfs; | 3 | * Processor cache information made available to userspace via sysfs; |
3 | * intended to be compatible with x86 intel_cacheinfo implementation. | 4 | * intended to be compatible with x86 intel_cacheinfo implementation. |
4 | * | 5 | * |
5 | * Copyright 2008 IBM Corporation | 6 | * Copyright 2008 IBM Corporation |
6 | * Author: Nathan Lynch | 7 | * Author: Nathan Lynch |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or | ||
9 | * modify it under the terms of the GNU General Public License version | ||
10 | * 2 as published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | 9 | ||
13 | #include <linux/cpu.h> | 10 | #include <linux/cpu.h> |
@@ -353,8 +350,6 @@ static int cache_is_unified_d(const struct device_node *np) | |||
353 | CACHE_TYPE_UNIFIED_D : CACHE_TYPE_UNIFIED; | 350 | CACHE_TYPE_UNIFIED_D : CACHE_TYPE_UNIFIED; |
354 | } | 351 | } |
355 | 352 | ||
356 | /* | ||
357 | */ | ||
358 | static struct cache *cache_do_one_devnode_unified(struct device_node *node, int level) | 353 | static struct cache *cache_do_one_devnode_unified(struct device_node *node, int level) |
359 | { | 354 | { |
360 | pr_debug("creating L%d ucache for %pOF\n", level, node); | 355 | pr_debug("creating L%d ucache for %pOF\n", level, node); |