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 /drivers/perf | |
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 'drivers/perf')
-rw-r--r-- | drivers/perf/arm_dsu_pmu.c | 5 | ||||
-rw-r--r-- | drivers/perf/arm_pmu_acpi.c | 5 | ||||
-rw-r--r-- | drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c | 5 | ||||
-rw-r--r-- | drivers/perf/hisilicon/hisi_uncore_hha_pmu.c | 5 | ||||
-rw-r--r-- | drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c | 5 | ||||
-rw-r--r-- | drivers/perf/hisilicon/hisi_uncore_pmu.c | 5 | ||||
-rw-r--r-- | drivers/perf/hisilicon/hisi_uncore_pmu.h | 5 |
7 files changed, 7 insertions, 28 deletions
diff --git a/drivers/perf/arm_dsu_pmu.c b/drivers/perf/arm_dsu_pmu.c index 5851de56bbd0..70968c8c09d7 100644 --- a/drivers/perf/arm_dsu_pmu.c +++ b/drivers/perf/arm_dsu_pmu.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * ARM DynamIQ Shared Unit (DSU) PMU driver | 3 | * ARM DynamIQ Shared Unit (DSU) PMU driver |
3 | * | 4 | * |
4 | * Copyright (C) ARM Limited, 2017. | 5 | * Copyright (C) ARM Limited, 2017. |
5 | * | 6 | * |
6 | * Based on ARM CCI-PMU, ARMv8 PMU-v3 drivers. | 7 | * Based on ARM CCI-PMU, ARMv8 PMU-v3 drivers. |
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 | ||
10 | * version 2 as published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | 9 | ||
13 | #define PMUNAME "arm_dsu" | 10 | #define PMUNAME "arm_dsu" |
diff --git a/drivers/perf/arm_pmu_acpi.c b/drivers/perf/arm_pmu_acpi.c index 0f197516d708..d2c2978409d2 100644 --- a/drivers/perf/arm_pmu_acpi.c +++ b/drivers/perf/arm_pmu_acpi.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * ACPI probing code for ARM performance counters. | 3 | * ACPI probing code for ARM performance counters. |
3 | * | 4 | * |
4 | * Copyright (C) 2017 ARM Ltd. | 5 | * Copyright (C) 2017 ARM Ltd. |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #include <linux/acpi.h> | 8 | #include <linux/acpi.h> |
diff --git a/drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c b/drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c index 0eba947c2ee9..6ad0823bcf23 100644 --- a/drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c +++ b/drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * HiSilicon SoC DDRC uncore Hardware event counters support | 3 | * HiSilicon SoC DDRC uncore Hardware event counters support |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * Anurup M <anurup.m@huawei.com> | 7 | * Anurup M <anurup.m@huawei.com> |
7 | * | 8 | * |
8 | * This code is based on the uncore PMUs like arm-cci and arm-ccn. | 9 | * This code is based on the uncore PMUs like arm-cci and arm-ccn. |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | */ | 10 | */ |
14 | #include <linux/acpi.h> | 11 | #include <linux/acpi.h> |
15 | #include <linux/bug.h> | 12 | #include <linux/bug.h> |
diff --git a/drivers/perf/hisilicon/hisi_uncore_hha_pmu.c b/drivers/perf/hisilicon/hisi_uncore_hha_pmu.c index 2553a844ebf6..4f2917f3e25e 100644 --- a/drivers/perf/hisilicon/hisi_uncore_hha_pmu.c +++ b/drivers/perf/hisilicon/hisi_uncore_hha_pmu.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * HiSilicon SoC HHA uncore Hardware event counters support | 3 | * HiSilicon SoC HHA uncore Hardware event counters support |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * Anurup M <anurup.m@huawei.com> | 7 | * Anurup M <anurup.m@huawei.com> |
7 | * | 8 | * |
8 | * This code is based on the uncore PMUs like arm-cci and arm-ccn. | 9 | * This code is based on the uncore PMUs like arm-cci and arm-ccn. |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | */ | 10 | */ |
14 | #include <linux/acpi.h> | 11 | #include <linux/acpi.h> |
15 | #include <linux/bug.h> | 12 | #include <linux/bug.h> |
diff --git a/drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c b/drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c index cf1cc34f402a..9153e093f9df 100644 --- a/drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c +++ b/drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * HiSilicon SoC L3C uncore Hardware event counters support | 3 | * HiSilicon SoC L3C uncore Hardware event counters support |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * Shaokun Zhang <zhangshaokun@hisilicon.com> | 7 | * Shaokun Zhang <zhangshaokun@hisilicon.com> |
7 | * | 8 | * |
8 | * This code is based on the uncore PMUs like arm-cci and arm-ccn. | 9 | * This code is based on the uncore PMUs like arm-cci and arm-ccn. |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | */ | 10 | */ |
14 | #include <linux/acpi.h> | 11 | #include <linux/acpi.h> |
15 | #include <linux/bug.h> | 12 | #include <linux/bug.h> |
diff --git a/drivers/perf/hisilicon/hisi_uncore_pmu.c b/drivers/perf/hisilicon/hisi_uncore_pmu.c index f028cbc3443c..79f76f8dda8e 100644 --- a/drivers/perf/hisilicon/hisi_uncore_pmu.c +++ b/drivers/perf/hisilicon/hisi_uncore_pmu.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * HiSilicon SoC Hardware event counters support | 3 | * HiSilicon SoC Hardware event counters support |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * Shaokun Zhang <zhangshaokun@hisilicon.com> | 7 | * Shaokun Zhang <zhangshaokun@hisilicon.com> |
7 | * | 8 | * |
8 | * This code is based on the uncore PMUs like arm-cci and arm-ccn. | 9 | * This code is based on the uncore PMUs like arm-cci and arm-ccn. |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | */ | 10 | */ |
14 | #include <linux/bitmap.h> | 11 | #include <linux/bitmap.h> |
15 | #include <linux/bitops.h> | 12 | #include <linux/bitops.h> |
diff --git a/drivers/perf/hisilicon/hisi_uncore_pmu.h b/drivers/perf/hisilicon/hisi_uncore_pmu.h index f21226a0e9c6..25b0c97b3eb0 100644 --- a/drivers/perf/hisilicon/hisi_uncore_pmu.h +++ b/drivers/perf/hisilicon/hisi_uncore_pmu.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * HiSilicon SoC Hardware event counters support | 3 | * HiSilicon SoC Hardware event counters support |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * Shaokun Zhang <zhangshaokun@hisilicon.com> | 7 | * Shaokun Zhang <zhangshaokun@hisilicon.com> |
7 | * | 8 | * |
8 | * This code is based on the uncore PMUs like arm-cci and arm-ccn. | 9 | * This code is based on the uncore PMUs like arm-cci and arm-ccn. |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | */ | 10 | */ |
14 | #ifndef __HISI_UNCORE_PMU_H__ | 11 | #ifndef __HISI_UNCORE_PMU_H__ |
15 | #define __HISI_UNCORE_PMU_H__ | 12 | #define __HISI_UNCORE_PMU_H__ |