diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-06-04 04:11:33 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-19 11:09:55 -0400 |
commit | d2912cb15bdda8ba4a5dd73396ad62641af2f520 (patch) | |
tree | ff723089c8673e3f99df3ddcdaeae7a52bd6fdac /arch/powerpc/kernel/cacheinfo.c | |
parent | 20c8ccb1975b8d5639789d1025ad6ada38bd6f48 (diff) |
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
Based on 2 normalized pattern(s):
this program is free software you can redistribute it and or modify
it under the terms of the gnu general public license version 2 as
published by the free software foundation
this program is free software you can redistribute it and or modify
it under the terms of the gnu general public license version 2 as
published by the free software foundation #
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4122 file(s).
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Enrico Weigelt <info@metux.net>
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
Reviewed-by: Allison Randal <allison@lohutok.net>
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190604081206.933168790@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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); |