diff options
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r-- | arch/powerpc/kernel/cacheinfo.c | 7 | ||||
-rw-r--r-- | arch/powerpc/kernel/io-workarounds.c | 5 | ||||
-rw-r--r-- | arch/powerpc/kernel/pci_of_scan.c | 5 | ||||
-rw-r--r-- | arch/powerpc/kernel/trace/trace_clock.c | 4 |
4 files changed, 4 insertions, 17 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); |
diff --git a/arch/powerpc/kernel/io-workarounds.c b/arch/powerpc/kernel/io-workarounds.c index 7e89d02a84e1..fbd2d0007c52 100644 --- a/arch/powerpc/kernel/io-workarounds.c +++ b/arch/powerpc/kernel/io-workarounds.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Support PCI IO workaround | 3 | * Support PCI IO workaround |
3 | * | 4 | * |
4 | * Copyright (C) 2006 Benjamin Herrenschmidt <benh@kernel.crashing.org> | 5 | * Copyright (C) 2006 Benjamin Herrenschmidt <benh@kernel.crashing.org> |
5 | * IBM, Corp. | 6 | * IBM, Corp. |
6 | * (C) Copyright 2007-2008 TOSHIBA CORPORATION | 7 | * (C) Copyright 2007-2008 TOSHIBA CORPORATION |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | #undef DEBUG | 9 | #undef DEBUG |
13 | 10 | ||
diff --git a/arch/powerpc/kernel/pci_of_scan.c b/arch/powerpc/kernel/pci_of_scan.c index 24191ea2d9a7..24522aa37665 100644 --- a/arch/powerpc/kernel/pci_of_scan.c +++ b/arch/powerpc/kernel/pci_of_scan.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Helper routines to scan the device tree for PCI devices and busses | 3 | * Helper routines to scan the device tree for PCI devices and busses |
3 | * | 4 | * |
@@ -8,10 +9,6 @@ | |||
8 | * Copyright (C) 2003 Anton Blanchard <anton@au.ibm.com>, IBM | 9 | * Copyright (C) 2003 Anton Blanchard <anton@au.ibm.com>, IBM |
9 | * Rework, based on alpha PCI code. | 10 | * Rework, based on alpha PCI code. |
10 | * Copyright (c) 2009 Secret Lab Technologies Ltd. | 11 | * Copyright (c) 2009 Secret Lab Technologies Ltd. |
11 | * | ||
12 | * This program is free software; you can redistribute it and/or | ||
13 | * modify it under the terms of the GNU General Public License | ||
14 | * version 2 as published by the Free Software Foundation. | ||
15 | */ | 12 | */ |
16 | 13 | ||
17 | #include <linux/pci.h> | 14 | #include <linux/pci.h> |
diff --git a/arch/powerpc/kernel/trace/trace_clock.c b/arch/powerpc/kernel/trace/trace_clock.c index 49170690946d..b0143a313736 100644 --- a/arch/powerpc/kernel/trace/trace_clock.c +++ b/arch/powerpc/kernel/trace/trace_clock.c | |||
@@ -1,7 +1,5 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * This program is free software; you can redistribute it and/or modify | ||
3 | * it under the terms of the GNU General Public License, version 2, as | ||
4 | * published by the Free Software Foundation. | ||
5 | * | 3 | * |
6 | * Copyright (C) 2015 Naveen N. Rao, IBM Corporation | 4 | * Copyright (C) 2015 Naveen N. Rao, IBM Corporation |
7 | */ | 5 | */ |