aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-06-01 04:08:50 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-05 11:37:17 -0400
commit3e45610181bcc2c68d343a62c1d028890160ef79 (patch)
tree936c07722679dccac87692e8fc15fddf169fd7c3
parent31e12cb6792c831597f83a986a779b6852b6f4e4 (diff)
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 436
Based on 1 normalized pattern(s): distributed under the terms of the gnu gpl version 2 extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 2 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Armijn Hemel <armijn@tjaldur.nl> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190531190115.032570679@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--include/linux/semaphore.h3
-rw-r--r--kernel/locking/semaphore.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/semaphore.h b/include/linux/semaphore.h
index 11c86fbfeb98..6694d0019a68 100644
--- a/include/linux/semaphore.h
+++ b/include/linux/semaphore.h
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (c) 2008 Intel Corporation 3 * Copyright (c) 2008 Intel Corporation
3 * Author: Matthew Wilcox <willy@linux.intel.com> 4 * Author: Matthew Wilcox <willy@linux.intel.com>
4 * 5 *
5 * Distributed under the terms of the GNU GPL, version 2
6 *
7 * Please see kernel/locking/semaphore.c for documentation of these functions 6 * Please see kernel/locking/semaphore.c for documentation of these functions
8 */ 7 */
9#ifndef __LINUX_SEMAPHORE_H 8#ifndef __LINUX_SEMAPHORE_H
diff --git a/kernel/locking/semaphore.c b/kernel/locking/semaphore.c
index 561acdd39960..d9dd94defc0a 100644
--- a/kernel/locking/semaphore.c
+++ b/kernel/locking/semaphore.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (c) 2008 Intel Corporation 3 * Copyright (c) 2008 Intel Corporation
3 * Author: Matthew Wilcox <willy@linux.intel.com> 4 * Author: Matthew Wilcox <willy@linux.intel.com>
4 * 5 *
5 * Distributed under the terms of the GNU GPL, version 2
6 *
7 * This file implements counting semaphores. 6 * This file implements counting semaphores.
8 * A counting semaphore may be acquired 'n' times before sleeping. 7 * A counting semaphore may be acquired 'n' times before sleeping.
9 * See mutex.c for single-acquisition sleeping locks which enforce 8 * See mutex.c for single-acquisition sleeping locks which enforce